A cron job is a command, that functions automatically in the background over a predefined period and it runs a script in a website hosting account. There won't be any limitations in regard to what the script is - PHP, Bash, Perl, etcetera, what it can do, or what exactly the file extension should be. Examples are sending a daily report with all of the user activity within a given website, generating a routine backup or deleting the files within a specific folder. These kinds of tasks as well as any other script can be run on time periods specified by the user - every couple of minutes, hours or days, and even every month or perhaps once a year based on the exact goal. Using cron jobs to improve diverse aspects of managing a website saves considerable time and efforts.

Cron Jobs in Shared Website Hosting

The Hepsia Control Panel, that comes with all of our Linux shared website hosting plans, will allow you to create cron jobs in several easy steps even when you have not used such a feature previously. Once you log in and visit the Cron Jobs section where you're able to set background tasks, you just need to copy and paste the system access path to Perl, Python or PHP according to the script that you'll run, type the path within your account for the specific script file and select how often the cron job will be executed. For the aforementioned, you can use the basic mode and choose the days, hours, minutes, etcetera through simple drop-down navigation, or in case you are more knowledgeable, you can use the advanced mode and set the time interval with numbers and asterisks i.e. the usual method that you might have employed with different Control Panels.

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 inside your Hepsia web hosting Control Panel to do this. Creating a brand new cron job is very easy and you'll be able to add one through the Advanced section of Hepsia where you can find a box to type in two things - the path to the programming language system files that you will find in the Server Information area (PHP, Python, Perl) along with the path to the particular script that you want the cron job to run. The final step is to select how often the cron will be executed and we have a rather intuitive interface for that, which means that by using drop-down menus you will be able to choose the interval in minutes, hours or days. If you are more tech-savvy or used to this standard, although more sophisticated way to set a cron interval through digits and asterisks, you can use this solution as well.