A cron job is a command, which functions automatically in the background on a predefined period of time and it executes a script inside a web hosting account. There are no limitations in regard to what the script can be - PHP, Bash, Perl, etc., what it could do, or what exactly the file extension will be. Some examples are mailing a daily report which contains all of the end user activity on a given site, generating a routine backup or deleting the files within a particular folder. These kinds of tasks or some other script can be executed on time periods selected by the user - each couple of minutes, hours or days, and even monthly or maybe annually depending on the specific purpose. Making use of cron jobs to improve different aspects of managing a website saves considerable time and efforts.

Cron Jobs in Cloud Hosting

Creating a cron job will take you precisely three simple steps if you get a cloud hosting plan with us. The Hepsia Control Panel, which comes with all the web hosting accounts, features a section centered on the crons and when you go there, you need to type the folder path to the script that you want to be executed, the command path to the system files for the particular programming language (Perl, Python, PHP), which you can copy and paste from the Server Information section, and after that determine how frequently the cron job needs to run. For the time interval, our company offers two choices - a user-friendly one with drop-down navigation where one can select the minutes, hours, days or months, as well as a more complex one that is used with other hosting Control Panels where you are expected to type numbers and asterisks on specific positions that define different periods of time.

Cron Jobs in Semi-dedicated Servers

If you would like to use cron jobs for any of your sites and you have a semi-dedicated server account from us, it won't take you more than a few clicks inside your Hepsia website hosting Control Panel to do that. Installing a brand new cron job is quite simple and you are able to add one from the Advanced section of Hepsia where you'll find a box to provide 2 things - the path to the programming language system files which you can find in the Server Information area (Perl, Python, PHP) along with the path to the script that you'd like the cron job to execute. The very last step is to decide how often the cron will run and we have a very user-friendly interface for that, therefore by using drop-down menus you can choose the interval in minutes, hours or days. If you are more tech-savvy or used to the standard, though more advanced way to set a cron interval employing digits and asterisks, you can use this method as well.