A cron job is a command, which runs automatically in the background over a pre-set period of time and it executes a script within a hosting account. There are no restrictions in regard to what the script can be - PHP, Bash, Perl, etc., what it can do, or what exactly your file extension will be. Examples are sending a daily report with the client activity on a given website, creating a routine backup or erasing the files inside a certain folder. These types of tasks and / or almost every other script can be run on time periods specified by the end user - every few minutes, hours or days, and even once per month as well as once a year depending on the exact goal. Working with cron jobs to improve numerous areas of managing a website saves considerable time and efforts.

Cron Jobs in Cloud Web Hosting

Creating a cron job will take you simply three very simple steps when you acquire a cloud web hosting plan with us. The Hepsia Control Panel, that is featured with all of the web hosting accounts, features an area focused on the crons and as soon as you get there, you should enter the folder path to the script that you want 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 after that set how often the cron job should run. For the time interval, we offer two choices - an easy to use one with drop-down menus where you can select the minutes, hours, days and/or months, and a more advanced one that is used with various other web hosting Control Panels where you should type numbers and asterisks on specific positions that outline separate time periods.

Cron Jobs in Semi-dedicated Servers

If you wish to use cron jobs for some of your sites and you have a semi-dedicated server account with us, it will not take you more than a few clicks in your Hepsia hosting Control Panel to do this. Setting up a new cron job is quite simple and you can add one through the Advanced part of Hepsia where you will find a box to type in two things - the path to the programming language system files which you can find in the Server Information area (Perl, Python, PHP) along with the path to the script that you want the cron job to run. The final step is to select how often the cron will be executed and we've got an extremely time and effort saving interface for that, which means that by using drop-down navigation you can easily choose the interval in minutes, hours or days. In case you are more tech-savvy or used to the standard, although more complex way to set a cron interval through digits and asterisks, you can use this solution as well.