A cron job is a command, that works conveniently in the background on a predefined period and it runs a script within a web hosting account. There aren't any limits regarding what the script is - PHP, Bash, Perl, etc., what it could do, or what exactly the file extension will be. Examples are mailing an everyday report with the end user activity on a specified site, creating a routine backup or deleting the files inside a specific folder. These kinds of tasks and / or almost every other script can be executed on time intervals specified by the user - every couple of minutes, hours or days, and even once per month or perhaps annually depending on the particular intent. Working with cron jobs to automate diverse elements of administrating a website saves a lot of time and efforts.

Cron Jobs in Shared Hosting

The Hepsia Control Panel, which is provided with all of our shared plans, will allow you to create cron jobs in a couple of simple steps even if you have not employed this feature previously. After you sign in and go to the Cron Jobs section where you can set background tasks, you just need to paste the system access path to PHP, Perl or Python depending on the script you will run, type the path within your account for the actual script file and choose how often your cron job will be executed. For the latter, you can use the basic mode and select the days, hours, minutes, etc. through uncomplicated drop-down navigation, or in case you are more skilled, you can use the advanced mode and set the time period with numbers and asterisks i.e. the typical method which you may have used with various other Control Panels.

Cron Jobs in Semi-dedicated Servers

If you want to use cron jobs for any 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 web hosting Control Panel to do this. Creating a new cron job is easy and you are able to add one from the Advanced section of Hepsia where you can find a box to provide 2 things - the path to the programming language system files that you can find inside the Server Information section (Perl, Python, PHP) and the path to the script that you wish the cron job to execute. The very last step is to decide how often the cron will run and we've got a rather user-friendly interface for that, so by using drop-down navigation you will be able to choose 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 through digits and asterisks, you can use this method as well.