A cron job is a command, that functions automatically in the background over a predefined period of time and it also executes a script within a website hosting account. There won't be any limitations in regard to what the script can be - PHP, Bash, Perl, etc., what it can do, or what exactly your file extension should be. A few examples are mailing a regular report with the user activity within a given site, generating a routine backup or deleting the content in a particular folder. These kinds of tasks or almost every other script can be executed on time periods selected by the user - each couple of minutes, hours or days, and even once per month or perhaps annually according to the exact purpose. Making use of cron jobs to improve diverse areas of managing a website saves a lot of time and efforts.
Cron Jobs in Cloud Hosting
Setting up a cron job requires just 3 quick steps if you get a cloud hosting
package with us. The Hepsia Control Panel, that is featured with all of the web hosting accounts, has a section focused on the crons and when you get there, you have to type the folder path to the script that you want to be run, the command path to the system files for the specific programming language (Perl, Python, PHP), that you can copy from the Server Information section, and after that set how often the cron job should run. For the time interval, we provide two choices - a user-friendly one with drop-down menus where you can pick the minutes, hours, days and/or months, and a more complex one that's used with different hosting Control Panels in which you are required to type numbers and asterisks on certain positions that define separate time periods.
Cron Jobs in Semi-dedicated Servers
If you wish to use cron jobs for some of your websites and you have a semi-dedicated server
account from our company, it will not take you more than a couple of clicks in your Hepsia hosting Control Panel to do that. Installing a brand new cron job is very easy and you are able to add one from the Advanced section of Hepsia where you can find a box to enter two different things - the path to the programming language system files which you can find inside the Server Information area (PHP, Perl, Python) along with the path to the particular script that you'd like the cron job to execute. The final step is to select how often the cron will be executed and we have a really time and effort saving interface for that, which means that by using drop-down navigation you can easily choose the interval in days, hours or minutes. If 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.