A cron job is a command, that works automatically in the background on a predefined time period and it executes a script in a web hosting account. There won't be any limitations regarding what the script is - PHP, Bash, Perl, etc., what it could do, or what exactly the file extension will be. Some examples are mailing a regular report which contains all the user activity within a specified site, generating a routine backup or erasing the files within a specific folder. These kinds of tasks and / or any other script can be run on intervals chosen by the user - every couple of minutes, hours or days, and even monthly or perhaps once per year depending on the specific objective. Making use of cron jobs to speed up different areas of managing a website saves a lot of time and efforts.

Cron Jobs in Cloud Hosting

Setting up a cron job will take you exactly three very simple steps when you get a cloud hosting plan through our company. The Hepsia Control Panel, that comes with all of the web hosting accounts, features a section focused on the crons and as soon as you go there, you should enter the folder path to the script that you'd like to be executed, the command path to the server files for the specified programming language (Perl, Python, PHP), which you can copy from the Server Information section, and specify how frequently the cron job needs to run. For the time interval, we provide two choices - a user-friendly one with drop-down navigation where you can pick the minutes, hours, days and/or months, as well as a more advanced one that's used with different web hosting Control Panels in which you have to type numbers and asterisks on particular positions that outline different time periods.

Cron Jobs in Semi-dedicated Servers

Setting up a cron job in our system is quite easy. Once you log in to the Hepsia Control Panel, which comes with all of the semi-dedicated server accounts, you're able to go to the Cron Jobs section where you only need to pick the directory path to the script file to be run along with the command path for the particular language the script was written in - PHP, Perl, Python, Bash. You'll be able to find the latter inside the Control Panel, so you can copy and paste it with a couple of clicks. After that, choose the time interval for the cron via drop-down menus for the months, days, hours or minutes and you will be all set. Our cron job setup wizard makes the entire process really simple and intuitive, so you will not have any problems if you do not have previous experience. When you are more experienced, you may also take advantage of the regular cron format with the two paths, digits and asterisks typed on one line.