A cron job is an automated task, which performs a particular action - generally executing some script in a hosting account. The task is planned, therefore it will run on a regular basis - weekly, daily, hourly etc. There are lots of reasons to use a cron job for your sites. As an example, you may get regular reports how many visitors have registered on your website, some temp folder can be emptied automatically once a week or a backup copy of the content can be made in a separate folder within your website hosting account. Employing cron jobs can help you with the management of your sites since you can have several things done automatically and get reports for them, as opposed to spending time and efforts to do them manually.

Cron Jobs in Shared Hosting

Creating a cron job will take you exactly three very simple steps if you get a shared hosting package through our company. The Hepsia Control Panel, that is featured with all the hosting accounts, has an area focused on the crons and once you get there, you have to enter the folder path to the script that you would like to be executed, the command path to the server files for the particular programming language (Perl, Python, PHP), that you can copy from the Server Information section, and determine how frequently the cron job should run. For the time interval, we offer two options - a very intuitive one with drop-down menus where one can choose the minutes, hours, days or months, along with a more complex one that's used with different hosting Control Panels where you are expected to type numbers and asterisks on certain positions that outline separate periods of time.

Cron Jobs in Semi-dedicated Servers

Installing a cron job in our system is really simple. Once you sign in to the Hepsia Control Panel, which is provided with all semi-dedicated server accounts, you are able to go to the Cron Jobs section where you just need to select the directory path to the script file to be executed as well as the command path for the particular language the script was written in - PHP, Perl, Python, Bash. You'll be able to find the aforementioned inside the Control Panel, and you can copy and paste it with a few clicks. After that, choose the time interval for the cron through drop-down navigation for the minutes, hours, days or months and you will be all set. Our cron job setup wizard makes the whole process really easy and intuitive, so you will not have any problems if you do not have prior experience. If you are more tech-savvy, you can also use the regular cron format with the two paths, digits and asterisks typed on one line.