A cron job is an automatic task, that executes a certain action - generally executing a script in a web hosting account. The task is planned, which means that it will run on a regular basis - weekly, daily, hourly and so on. There are many good reasons to employ a cron job for your sites. For instance, you may get day-to-day reports how many website visitors have registered on your website, a temp folder may be emptied automatically each week or a backup of the content can be created in a separate folder in your hosting account. Using cron jobs can help you with the management of your sites because you are able to have numerous things carried out automatically and have reports for them, as opposed to investing valuable time and efforts to do them manually.

Cron Jobs in Shared Hosting

Creating a cron job requires precisely three very simple steps if you get a shared hosting package through us. The Hepsia Control Panel, which comes with all of the website hosting accounts, features an area dedicated to the crons and as soon as you get there, you have to type the folder path to the script that you want to be run, the command path to the server files for the specific programming language (Perl, Python, PHP), that you can copy and paste from the Server Information section, and after that specify how frequently the cron job needs to run. For the time interval, we provide two options - a user-friendly one with drop-down menus where one can select the minutes, hours, days and/or months, and a more advanced one that is used with other hosting Control Panels in which you are expected to type numbers and asterisks on specific positions that define different time periods.

Cron Jobs in Semi-dedicated Hosting

If you wish to use cron jobs for any of your sites 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 hosting Control Panel to do that. Setting up a new cron job is really easy and you can easily add one through the Advanced section of Hepsia where you can find a box to type in 2 things - the path to the programming language system files that you can find inside the Server Information section (PHP, Perl, Python) along with the path to the particular script that you would like the cron job to execute. The very last step is to determine how often the cron will run and we've got a very time and effort saving interface for that, therefore by using drop-down navigation you'll be able to select the interval in days, hours or minutes. If you are more tech-savvy or used to the particular standard, albeit more complex way to assign a cron interval employing digits and asterisks, you can use this method as well.