A cron job is a command, that functions conveniently in the background on a pre-set period and it also runs a script within a web hosting account. There are no restrictions regarding what the script can be - PHP, Bash, Perl, etc., what it can do, or what exactly the file extension will be. Examples are mailing an everyday report with all the user activity within a specified website, creating a routine backup or deleting the files inside a specific folder. These tasks or some other script can be executed on intervals picked by the user - every couple of minutes, hours or days, and even every month or perhaps once a year depending on the specific goal. Making use of cron jobs to improve different elements of managing a website saves considerable time and efforts.

Cron Jobs in Hosting

Setting up a cron job requires exactly 3 quick steps when you get a hosting plan through us. The Hepsia Control Panel, which comes with all the web hosting accounts, features a section centered on the crons and as soon as you go there, you should enter the folder path to the script that you want to be run, the command path to the system files for the specified programming language (Perl, Python, PHP), which you can copy and paste from the Server Information section, and after that set how frequently the cron job has to run. For that time interval, we offer two choices - an easy to use one with drop-down menus where one can pick the minutes, hours, days and/or months, and a more advanced one that is used with various other website hosting Control Panels in which you are required to type numbers and asterisks on specific positions that define separate periods of time.

Cron Jobs in Semi-dedicated Servers

Setting up a cron job in our system is very easy. Once you log in to the Hepsia Control Panel, which comes with all semi-dedicated server accounts, you will be able to go to the Cron Jobs section where you just have to choose the directory path to the script file to be run and the command path for the specific language the script was designed in - PHP, Perl, Python, Bash. You're able to find the aforementioned inside the Control Panel, and you can copy/paste it with a few clicks. After that, choose the time period for your cron using drop-down navigation for the minutes, hours, days or months and you're all set. Our cron job setup wizard makes the entire process really easy and intuitive, so you won't have any problems if you do not have prior experience. When you are more tech-savvy, you can also use the regular cron format with the two paths, digits and asterisks typed on one line.