A cron job is a command, which runs automatically in the background on a pre-set period and it runs a script in a hosting account. There are no limits regarding what the script can be - PHP, Bash, Perl, etcetera, what it could do, or what exactly the file extension will be. Some examples are supplying a regular report which contains all of the client activity on a specific site, creating a routine backup or deleting the content in a specific folder. These kinds of tasks and / or almost every other script can be run on time intervals specified by the end user - each couple of minutes, hours or days, and even once per month as well as annually based on the specific goal. Making use of cron jobs to speed up numerous aspects of administrating a site saves lots of time and efforts.

Cron Jobs in Website Hosting

Creating a cron job requires exactly three easy steps when you obtain a website 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 get there, you should type the folder path to the script that you would like to be executed, the command path to the system files for the particular programming language (Perl, Python, PHP), which you can copy from the Server Information section, and then determine how often the cron job needs to run. For the time interval, we provide two choices - a very intuitive one with drop-down menus where one can choose the minutes, hours, days and/or months, along with a more complex one that is used with different web hosting Control Panels where you are required to type numbers and asterisks on particular positions that define separate periods of time.

Cron Jobs in Semi-dedicated Servers

If you would like to use cron jobs for any of your websites and you have a semi-dedicated server account with our company, 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 very simple and you can easily add one through the Advanced section of Hepsia where you will find a box to enter two things - the path to the programming language system files that you will find inside the Server Information area (Perl, Python, PHP) along with the path to the particular script that you would like the cron job to run. The final step is to determine how often the cron will be executed and we have a really user-friendly interface for that, so by using drop-down menus you are able to choose the interval in minutes, hours or days. If you are more tech-savvy or used to the standard, though more complex way to assign a cron interval using digits and asterisks, you can use this alternative as well.