A cron job is an automatic task, which executes a certain action - generally running some script in the hosting account. The task is pre-set, therefore it will run regularly - hourly, daily, weekly and so on. There are lots of reasons to make use of a cron job for your sites. For example, you can get day-to-day reports how many website visitors have signed up on your website, a temp folder may be emptied automatically per week or a backup copy of your content can be created in a standalone folder inside your hosting account. Employing cron jobs will help you with the management of your websites as you'll be able to get a lot of things done automatically and get reports about them, as opposed to investing precious time and efforts to complete them manually.
Cron Jobs in Cloud Website Hosting
The Hepsia Control Panel, that is included with all the Linux cloud website hosting packages
, will help you to set up cron jobs in a couple of easy steps even when you have not used this type of feature before. As soon as you log in and navigate to the Cron Jobs section where you can assign background tasks, you just have to copy and paste the server access path to Perl, Python or PHP with respect to the script you'll execute, type the path inside of your account to the actual script file and then select how often your cron job has to be carried out. For the latter, you'll be able to use the standard mode and choose the days, hours, minutes, etcetera via straightforward drop-down navigation, or if you are more experienced, you'll be able to use the advanced mode and specify the time interval with numbers and asterisks i.e. the standard method that you might have used with different Control Panels.
Cron Jobs in Semi-dedicated Hosting
If you'd like to use cron jobs for some of your websites and you have a semi-dedicated server
account from our company, it won't take you more than a couple of clicks in your Hepsia web hosting Control Panel to do this. Setting up a new cron job is very simple and you can easily add one through the Advanced part of Hepsia where you will find a box to provide 2 things - the path to the programming language system files which you can find in the Server Information section (PHP, Python, Perl) along with the path to the script that you'd like the cron job to run. The last step is to select how often the cron will be executed and we've got a really user-friendly interface for that, so by using drop-down navigation you are able to choose the interval in days, hours or minutes. In case you are more tech-savvy or used to this standard, though more complex way to assign a cron interval employing digits and asterisks, you can use this alternative as well.