A cron job is a command, that functions automatically in the background over a predefined time period and it also runs a script inside a website hosting account. There are no restrictions regarding what the script is - PHP, Bash, Perl, etcetera, what it could do, or what exactly your file extension will be. Examples are sending an everyday report which contains all the end user activity within a specified website, generating a regular backup or deleting the files inside a certain folder. These kinds of tasks or any other script can be run on intervals selected by the end user - each few minutes, hours or days, and even every month as well as once a year depending on the specific purpose. Using cron jobs to automate numerous aspects of administrating a website saves considerable time and efforts.

Cron Jobs in Web Hosting

Setting up a cron job will take you just 3 very simple steps when you acquire a web hosting plan with us. The Hepsia Control Panel, that comes with all of the website hosting accounts, has a section centered on the crons and once you go there, you need to enter the folder path to the script which you want to be run, the command path to the server files for the selected 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 has to run. For the time interval, our company offers two options - a very intuitive one with drop-down menus where you can choose the minutes, hours, days and/or months, as well as a more advanced one that's used with other 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

If you'd like to use cron jobs for any of your sites and you have a semi-dedicated server account with us, it won't take you more than a few clicks inside your Hepsia hosting Control Panel to do this. Setting up a brand new cron job is really easy and you'll be able to add one from the Advanced section of Hepsia where you'll find a box to type in two things - the path to the programming language system files that you can find inside the Server Information section (PHP, Perl, Python) along with the path to the particular script that you need the cron job to run. The last step is to select how often the cron will run and we've got an extremely user-friendly interface for that, therefore by using drop-down navigation you're able to pick the interval in days, hours or minutes. If you are more tech-savvy or used to the standard, although more sophisticated way to assign a cron interval through digits and asterisks, you can use this solution as well.