A cron job is an automated task, which performs a certain action - usually executing some script in a website hosting account. The task is planned, therefore it will run regularly - hourly, daily, weekly and so on. There are various reasons to use a cron job for your sites. As an example, you can get daily reports how many site visitors have signed up on your website, some temp folder can be emptied automatically each week or a backup of the content can be generated in a different folder within your web hosting account. Making use of cron jobs will help you with the administration of your sites as it is possible to get a lot of things executed automatically and get reports for them, as an alternative to investing precious time and efforts to do them manually.
Cron Jobs in Cloud Hosting
Setting up a cron job will take you simply three quick steps when you get a cloud hosting plan from us. The Hepsia Control Panel, which comes with all the hosting accounts, has an area dedicated to 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 system files for the specified programming language (Perl, Python, PHP), which you can copy and paste from the Server Information section, and then set how frequently the cron job needs to run. For the time interval, we provide two options - an easy to use one with drop-down navigation where one can choose the minutes, hours, days and/or months, along with a more advanced one that is used with many other hosting Control Panels in which you need to type numbers and asterisks on certain positions that define separate time periods.
Cron Jobs in Semi-dedicated Servers
If you wish to use cron jobs for some of your sites and you have a semi-dedicated server account from us, it will not take you more than a few clicks in your Hepsia hosting Control Panel to do this. Installing a brand new cron job is easy and you can add one from the Advanced part of Hepsia where you'll find a box to type in two things - the path to the programming language system files which you'll find in the Server Information area (PHP, Perl, Python) and the path to the particular script that you want the cron job to run. The very last step is to choose how often the cron will run and we've got a rather intuitive interface for that, therefore by using drop-down navigation you will be able to choose the interval in days, hours or minutes. If you are more tech-savvy or used to the particular standard, although more sophisticated way to set a cron interval using digits and asterisks, you can use this method as well.