A cron job is a command, which runs automatically in the background on a pre-set time period and it executes a script in a hosting account. There aren't any limitations in regard to what the script is - PHP, Bash, Perl, etcetera, what it could do, or what exactly the file extension should be. A few examples are mailing a daily report which contains all the client activity on a specified site, creating a routine backup or deleting the content inside a specific folder. These types of tasks as well as almost every other script can be executed on intervals picked by the end user - every couple of minutes, hours or days, and even every month or perhaps annually according to the specific intent. Making use of cron jobs to improve numerous aspects of managing a website saves lots of time and efforts.

Cron Jobs in Website Hosting

Creating a cron job will take you simply 3 easy steps if you get a website hosting package from us. The Hepsia Control Panel, which comes with all the web hosting accounts, has a section dedicated to the crons and once you go there, you have to enter the folder path to the script that you would like to be executed, the command path to the server files for the particular programming language (Perl, Python, PHP), which you can copy and paste from the Server Information section, and after that determine how often the cron job should run. For that time interval, we provide two choices - an easy to use one with drop-down navigation where one can pick the minutes, hours, days or months, as well as a more complex one that's used with other web hosting Control Panels where you are expected to type numbers and asterisks on certain positions that outline different 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 will not take you more than a couple of clicks inside your Hepsia hosting Control Panel to do that. Installing a new cron job is easy and you are able to add one from the Advanced section of Hepsia where you can find a box to provide two things - the path to the programming language system files which you can find in the Server Information section (PHP, Python, Perl) along with the path to the script that you wish the cron job to execute. The very last step is to select how often the cron will run and we've got a very intuitive interface for that, therefore by using drop-down menus you can easily choose the interval in days, hours or minutes. If you are more tech-savvy or used to this standard, although more complex way to set a cron interval employing digits and asterisks, you can use this method as well.