A cron job is a command, which runs conveniently in the background on a predefined period of time and it also runs a script in a hosting account. There are no limitations in regard to what the script is - PHP, Bash, Perl, etc., what it can do, or what exactly the file extension should be. A few examples are supplying a regular report with all of the user activity within a given site, generating a routine backup or erasing the content within a certain folder. These kinds of tasks and / or almost every other script can be executed on time intervals selected by the user - every couple of minutes, hours or days, and even once a month as well as once per year depending on the exact purpose. Using cron jobs to speed up different aspects of managing a site saves considerable time and efforts.

Cron Jobs in Shared Hosting

The Hepsia Control Panel, which is provided with all of our Linux shared packages, allows you to set up cron jobs in a few basic steps even if you have never used this type of option before. After you sign in and navigate to the Cron Jobs section where you are able to create background tasks, you just need to copy and paste the system access path to PHP, Perl or Python depending on the script you will execute, type the path within your account for the specific script file and after that choose how often the cron job has to be carried out. For the latter, you can use the standard mode and pick the days, hours, minutes, etc. via simple drop-down options, or maybe if you are more skilled, you can take advantage of the advanced mode and set the time period with numbers and asterisks i.e. the usual method which you may have employed with various Control Panels.

Cron Jobs in Semi-dedicated Hosting

If you wish to use cron jobs for any of your sites and you have a semi-dedicated server account with our company, it will not take you more than a few clicks in your Hepsia hosting Control Panel to do that. Creating a new cron job is quite simple and you will be able to add one from the Advanced part of Hepsia where you can find a box to enter two things - the path to the programming language system files that you'll find inside the Server Information area (PHP, Perl, Python) along with the path to the particular script that you'd like the cron job to run. The last step is to select how often the cron will run and we've got a very time and effort saving interface for that, so by using drop-down navigation you will be able to choose the interval in minutes, hours or days. In case you are more tech-savvy or used to the standard, although more complex way to assign a cron interval through digits and asterisks, you can use this alternative as well.