A cron job is a command, which works conveniently in the background over a predefined period and it executes a script inside a hosting account. There aren't any restrictions regarding what the script is - PHP, Bash, Perl, etcetera, what it can do, or what exactly your file extension should be. A few examples are mailing an everyday report with all the user activity within a specified website, generating a regular backup or erasing the content in a particular folder. These tasks or some other script can be executed on intervals chosen by the user - each couple of minutes, hours or days, and even monthly or once a year depending on the exact intent. Working with cron jobs to speed up various areas of managing a website saves lots of time and efforts.

Cron Jobs in Cloud Website Hosting

Setting up a cron job requires exactly 3 simple steps when you acquire a cloud website hosting plan through us. The Hepsia Control Panel, which comes with all of the web hosting accounts, features an area focused on the crons and as soon as you go there, you have to type the folder path to the script that you would like to be executed, the command path to the system files for the specific programming language (Perl, Python, PHP), which you can copy from the Server Information section, and after that specify how frequently the cron job should run. For the time interval, we provide two options - a very intuitive one with drop-down navigation where you can select the minutes, hours, days and/or months, and a more advanced one that's used with other web hosting Control Panels where you are required to type numbers and asterisks on certain positions that define different periods of time.

Cron Jobs in Semi-dedicated Servers

Setting up a cron job in our system is really easy. Once you log in to the Hepsia Control Panel, which is provided with all of the semi-dedicated server accounts, you will be able to go to the Cron Jobs section where you just need to select the directory path to the script file to be run as well as the command path for the specific language the script was written in - PHP, Perl, Python, Bash. You are able to find the latter in the Control Panel, so you can copy/paste it with a couple of clicks. Then, choose the time period for your cron using drop-down menus for the months, days, hours or minutes and you're all set. Our cron job setup wizard makes the process really easy and intuitive, so you will not have any problems if you do not have prior experience. When you are more tech-savvy, you may also use the common cron format with the two paths, digits and asterisks typed on a single line.