A cron job is a command, that runs conveniently in the background on a predefined period of time and it runs a script in a web hosting account. There aren't any restrictions in regard to what the script is - PHP, Bash, Perl, etcetera, what it can do, or what exactly the file extension should be. Some examples are mailing a regular report with all the user activity within a specific site, creating a routine backup or deleting the files inside a certain folder. These tasks and / or any other script can be run on time periods selected by the user - each couple of minutes, hours or days, and even once per month or perhaps annually based on the particular intent. Working with cron jobs to speed up different elements of administrating a website saves considerable time and efforts.

Cron Jobs in Cloud Hosting

Creating a cron job requires just 3 very simple steps when you obtain a cloud hosting plan through our company. The Hepsia Control Panel, that comes with all the hosting accounts, has an area dedicated to the crons and when you go 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 selected programming language (Perl, Python, PHP), which you can copy from the Server Information section, and after that determine how often the cron job has to run. For that time interval, we offer two options - a user-friendly one with drop-down navigation where you can choose the minutes, hours, days and/or months, and a more complex one that's used with various other website hosting Control Panels where you have to type numbers and asterisks on specific positions that outline separate 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 our company, it will not take you more than a couple of clicks in your Hepsia web hosting Control Panel to do that. Creating a brand new cron job is quite simple and you'll be able to add one from the Advanced section of Hepsia where you will find a box to enter two different things - the path to the programming language system files that you'll find inside the Server Information section (PHP, Python, Perl) and the path to the particular script that you would like the cron job to execute. The final step is to choose how often the cron will be executed and we have a very user-friendly interface for that, so by using drop-down menus you can easily choose the interval in minutes, hours or days. In case you are more tech-savvy or used to the standard, though more advanced way to set a cron interval using digits and asterisks, you can use this alternative as well.