A cron job is an automated task, which executes a certain action - usually running some script inside a website hosting account. The task is pre-set, so that it will run regularly - hourly, daily, weekly etc. There are many good reasons to use a cron job for your sites. As an example, you can get regular reports how many website visitors have signed up on your website, some temporary folder may be emptied automatically each week or a backup of your content can be created in a different folder in your hosting account. Using cron jobs will help you with the administration of your websites as it is possible to have many things done automatically and get reports about them, as opposed to investing valuable time and efforts to complete them by hand.

Cron Jobs in Shared Hosting

The Hepsia Control Panel, which is provided with all the Linux shared hosting, allows you to set up cron jobs in a couple of simple steps even if you haven't ever employed such a function previously. Once you log in and go to the Cron Jobs section where you'll be able to set background tasks, you just have to copy and paste the server access path to PHP, Perl or Python with respect to the script you will run, type the path inside of your account to the specific script file and then select how often the cron job has to be carried out. For the aforementioned, you can use the standard mode and pick the days, hours, minutes, etc. through straightforward drop-down options, or maybe if you are more experienced, you can take advantage of the advanced mode and specify the time period with numbers and asterisks i.e. the usual method that you may have used with different Control Panels.

Cron Jobs in Semi-dedicated Hosting

Installing a cron job in our system is really easy. Once you log in to the Hepsia Control Panel, which is included with all the semi-dedicated server accounts, you will be able to go to the Cron Jobs section where you just need to choose the directory path to the script file to be run and the command path for the particular language the script was designed in - PHP, Perl, Python, Bash. You're able to find the aforementioned inside the Control Panel, so you can copy and paste it with a couple of clicks. Next, choose the time period for your cron through drop-down navigation for the minutes, hours, days or months and you're all set. Our cron job setup wizard makes the whole process very simple and intuitive, so you won't have any problems if you do not have previous 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.