A cron job is a command, which works conveniently in the background over a pre-set period and it executes a script in a web hosting account. There are no limitations regarding what the script can be - PHP, Bash, Perl, etcetera, what it could do, or what exactly the file extension should be. A few examples are sending a regular report which contains all of the client activity within a specific site, creating a regular backup or erasing the files inside a particular folder. These kinds of tasks and / or any other script can be executed on intervals chosen by the end user - each few minutes, hours or days, and even once a month or once a year based on the specific purpose. Making use of cron jobs to improve different areas of administrating a site saves considerable time and efforts.

Cron Jobs in Shared Hosting

Creating a cron job requires precisely three easy steps when you obtain a shared hosting plan with our company. The Hepsia Control Panel, that comes with all the hosting accounts, features an area dedicated to the crons and as soon as you get there, you should type the folder path to the script that you want 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 then determine how frequently the cron job needs to run. For that time interval, we provide two options - a user-friendly one with drop-down navigation where one can pick the minutes, hours, days and/or months, and a more complex one that is used with many other web hosting Control Panels in which you need to type numbers and asterisks on certain positions that outline different periods of time.

Cron Jobs in Semi-dedicated Servers

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