A cron job is a command, which runs conveniently in the background on a predefined period of time and it also executes a script within a hosting account. There aren't any limits in regard to what the script can be - PHP, Bash, Perl, etcetera, what it can do, or what exactly the file extension will be. A few examples are sending a regular report with all the end user activity within a specific website, creating a routine backup or erasing the files in a specific folder. These types of tasks or almost every other script can be run on intervals specified by the user - each few minutes, hours or days, and even once per month or maybe once per year based on the specific objective. Making use of cron jobs to automate diverse elements of managing a site saves considerable time and efforts.

Cron Jobs in Shared Hosting

Setting up a cron job requires just 3 very simple steps when you get a shared hosting package from our company. The Hepsia Control Panel, that comes with all the website hosting accounts, features a section dedicated to the crons and as soon as you go there, you need to type the folder path to the script that you want to be executed, the command path to the server files for the selected programming language (Perl, Python, PHP), which you can copy from the Server Information section, and then determine how frequently the cron job has to run. For the time interval, we offer two choices - a very intuitive one with drop-down navigation where one can pick the minutes, hours, days or months, as well as a more complex one that is used with other web hosting Control Panels in which you are required to type numbers and asterisks on specific positions that outline separate time periods.

Cron Jobs in Semi-dedicated Servers

Installing a cron job in our system is quite easy. Once you log in to the Hepsia Control Panel, which comes with all semi-dedicated server accounts, you're able to go to the Cron Jobs section where you just have to pick the directory path to the script file to be run plus the command path for the specific language the script was written in - PHP, Perl, Python, Bash. You'll be able to find the latter inside the Control Panel, and you can copy/paste it with just a few clicks. Then, select the time period for your cron via drop-down navigation for the minutes, hours, days or months and you will be all set. Our cron job setup wizard makes the whole process very simple and intuitive, so you won't have any problems if you don't have prior experience. In case you are more tech-savvy, you can also use the standard cron format with the two paths, digits and asterisks typed on a single line.