A cron job is a command, which works automatically in the background on a pre-set period and it runs a script in a web hosting account. There aren't any limits regarding what the script can be - PHP, Bash, Perl, etc., what it can do, or what exactly your file extension will be. A few examples are supplying a daily report with the client activity on a given site, generating a regular backup or erasing the content in a certain folder. These types of tasks and / or almost every other script can be executed on intervals picked by the user - every few minutes, hours or days, and even every month as well as once per year according to the specific objective. Working with cron jobs to automate various elements of managing a website saves a lot of time and efforts.

Cron Jobs in Hosting

The Hepsia Control Panel, which comes with all of the hosting, will allow you to create cron jobs in several simple steps even if you have not employed this type of function previously. Once you sign in and proceed to the Cron Jobs area where you'll be able to create background tasks, you just have to copy and paste the system access path to PHP, Pyton or Perl according to the script that you'll run, type the path in your account to the specific script file and after that select how often the cron job has to be carried out. For the latter, you'll be able to use the standard mode and select the days, hours, minutes, etc. using straightforward drop-down navigation, or if you are more knowledgeable, you'll be able to use the advanced mode and set the time interval with numbers and asterisks i.e. the usual method that you might have used with different Control Panels.

Cron Jobs in Semi-dedicated Servers

If you'd like to use cron jobs for some 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 website hosting Control Panel to do this. Setting up a brand new cron job is really easy and you can easily add one through the Advanced section of Hepsia where you'll find a box to enter two things - the path to the programming language system files which you will find in the Server Information section (Perl, Python, PHP) and the path to the particular script that you wish the cron job to run. The very last step is to determine how often the cron will run and we've got a really time and effort saving interface for that, so by using drop-down menus you'll be able to pick the interval in minutes, hours or days. If you are more tech-savvy or used to the standard, although more complex way to set a cron interval employing digits and asterisks, you can use this option as well.