A cron job is an automatic task, which performs a specific action - usually executing a script in the web hosting account. The task is pre-set, which means that it will run on a regular basis - hourly, daily, weekly and so on. There are numerous good reasons to make use of a cron job for your sites. For example, you can get daily reports how many website visitors have signed up on your site, some temp folder can be emptied automatically per week or a backup of your content may be made in a different folder inside your hosting account. Making use of cron jobs can help you with the administration of your sites as you can get a lot of things completed automatically and get reports about them, as an alternative to spending precious time and efforts to do them yourself.
Cron Jobs in Hosting
Creating a cron job requires simply three simple steps when you get a hosting plan with us. The Hepsia Control Panel, which comes with all of the web hosting accounts, has a section dedicated to the crons and when you get there, you should enter the folder path to the script which you want to be executed, the command path to the system files for the particular programming language (Perl, Python, PHP), that you can copy and paste from the Server Information section, and after that set how frequently the cron job needs to run. For the time interval, our company offers two choices - a user-friendly one with drop-down menus where you can select the minutes, hours, days and/or months, as well as a more complex one that's used with other hosting Control Panels in which you have to type numbers and asterisks on particular positions that outline different time periods.
Cron Jobs in Semi-dedicated Servers
Setting up a cron job in our system is really simple. Once you sign in to the Hepsia Control Panel, which comes with all the semi-dedicated server accounts, you will be able to go to the Cron Jobs section where you only have to select the directory path to the script file to be executed plus the command path for the particular language the script was designed in - PHP, Perl, Python, Bash. You will be able to find the latter inside the Control Panel, thus you can copy and paste it with a few clicks. Next, select the time period for your cron using drop-down navigation for the months, days, hours or minutes and you are all set. Our cron job setup wizard makes the process really simple and intuitive, so you won't have any problems if you do not have prior experience. In case you are more experienced, you may also use the common cron format with the two paths, digits and asterisks typed on a single line.