A cron job is a command, which runs automatically in the background on a pre-set time period and it runs a script within a hosting account. There won't be any limitations regarding what the script can be - PHP, Bash, Perl, etcetera, what it could do, or what exactly your file extension will be. Some examples are sending a day-to-day report with all the end user activity on a given site, generating a routine backup or erasing the files inside a certain folder. These kinds of tasks or almost every other script can be run on intervals selected by the user - every couple of minutes, hours or days, and even monthly or perhaps annually depending on the particular objective. Working with cron jobs to speed up diverse areas of administrating a site saves a lot of time and efforts.

Cron Jobs in Shared Website Hosting

The Hepsia Control Panel, that is included with all of the shared website hosting plans, will help you to set up cron jobs in several basic steps even if you have not employed this type of function before. When you log in and navigate to the Cron Jobs section where you're able to create background tasks, you just have to paste the system access path to Perl, PHP or Python based on the script that you will run, type the path in your account to the actual script file and choose how often your cron job has to be executed. For the aforementioned, you'll be able to use the standard mode and select the days, hours, minutes, etc. through straightforward drop-down options, or if you are more knowledgeable, you can take advantage of the advanced mode and set the time period with numbers and asterisks i.e. the standard method that you might have used with various Control Panels.

Cron Jobs in Semi-dedicated Servers

If you wish to use cron jobs for any of your sites and you have a semi-dedicated server account with us, it won't take you more than a few clicks inside your Hepsia web hosting Control Panel to do this. Installing a brand new cron job is very simple and you will be able to add one from the Advanced part of Hepsia where you'll find a box to provide two different things - the path to the programming language system files that you can find inside the Server Information area (PHP, Python, Perl) along with the path to the script that you need the cron job to execute. The final step is to determine how often the cron will be executed and we've got a very intuitive interface for that, therefore by using drop-down menus you can select the interval in minutes, hours or days. If you are more tech-savvy or used to the particular standard, though more advanced way to assign a cron interval employing digits and asterisks, you can use this option as well.