A cron job is an automated task, that performs a certain action - usually executing some script in a website hosting account. The task is pre-set, so that it will run regularly - hourly, daily, weekly etc. There are lots of reasons to use a cron job for your websites. For instance, you can get regular reports how many visitors have registered on your website, some temporary folder can be emptied automatically weekly or a backup of your content can be generated in a different folder within your web hosting account. Employing cron jobs can help you with the administration of your websites as it is possible to have several things completed automatically and get reports for them, rather than investing valuable time and efforts to do them by hand.
Cron Jobs in Hosting
The Hepsia Control Panel, which comes with all our Linux hosting service, will help you to set up cron jobs in a few basic steps even if you have not employed this function previously. After you log in and proceed to the Cron Jobs area where you'll be able to assign background tasks, you just have to copy and paste the system access path to Perl, Python or PHP based on the script that you will execute, type the path inside of your account for the specific script file and then select how often the cron job has to be carried out. For the aforementioned, you can use the basic mode and choose the days, hours, minutes, etc. through straightforward drop-down menus, or if you are more experienced, you can use the advanced mode and set the time interval with numbers and asterisks i.e. the usual method which you may have employed with different Control Panels.
Cron Jobs in Semi-dedicated Servers
If you want to use cron jobs for any of your sites and you have a semi-dedicated server account with us, it will not take you more than a few clicks inside your Hepsia website hosting Control Panel to do this. Setting up a new cron job is easy and you'll be able to add one from the Advanced section of Hepsia where you'll find a box to enter 2 things - the path to the programming language system files that you will find inside the Server Information area (PHP, Python, Perl) along with the path to the particular script that you want the cron job to execute. The very last step is to determine how often the cron will be executed and we have a rather time and effort saving interface for that, therefore by using drop-down navigation you can easily pick the interval in days, hours or minutes. If you are more tech-savvy or used to the particular standard, albeit more advanced way to assign a cron interval using digits and asterisks, you can use this option as well.