A cron job is a command, that runs conveniently in the background over a predefined period and it runs a script in a hosting account. There won't be any limits regarding what the script is - PHP, Bash, Perl, etc., what it can do, or what exactly the file extension will be. Some examples are supplying a regular report which contains all the client activity on a specific website, creating a routine backup or erasing the files within a certain folder. These types of tasks as well as any other script can be run on intervals specified by the user - each couple of minutes, hours or days, and even once a month as well as once a year depending on the exact goal. Using cron jobs to improve various areas of managing a website saves lots of time and efforts.

Cron Jobs in Shared Hosting

Setting up a cron job requires just three easy steps when you get a shared hosting package 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 go there, you need to enter the folder path to the script that you want to be run, the command path to the system files for the specific programming language (Perl, Python, PHP), which you can copy and paste from the Server Information section, and determine how often the cron job has to run. For that time interval, we offer two choices - a very intuitive one with drop-down navigation where one can choose the minutes, hours, days or months, along with a more complex one that's used with other web hosting Control Panels where you are required to type numbers and asterisks on certain positions that outline different periods of time.

Cron Jobs in Semi-dedicated Hosting

If you want to use cron jobs for some of your sites and you have a semi-dedicated server account with us, it won't take you more than a couple of clicks inside your Hepsia hosting Control Panel to do that. Installing a new cron job is really easy and you're able to add one from the Advanced part of Hepsia where you'll find a box to enter two things - the path to the programming language system files which you can find inside the Server Information section (PHP, Perl, Python) along with the path to the script that you wish the cron job to run. The final step is to decide how often the cron will be executed and we've got a very user-friendly interface for that, therefore by using drop-down navigation you can pick the interval in days, hours or minutes. In case you are more tech-savvy or used to this standard, albeit more advanced way to set a cron interval through digits and asterisks, you can use this solution as well.