A cron job is an automatic task, which executes a certain action - usually executing some script inside a web hosting account. The task is scheduled, therefore it will run on a regular basis - hourly, daily, weekly etc. There are various good reasons to employ a cron job for your websites. For example, you may get regular reports how many site visitors have registered on your website, some temp folder can be emptied automatically per week or a backup copy of the content can be generated in a separate folder within your web hosting account. Using cron jobs can help you with the administration of your sites because it is possible to get a lot of things carried out automatically and have reports about them, as an alternative to spending valuable time and efforts to do them yourself.

Cron Jobs in Shared Hosting

The Hepsia Control Panel, that is included with all of the Linux shared hosting, will help you to create cron jobs in a few simple steps even if you have never employed this option previously. When you log in and proceed to the Cron Jobs section where you can set background tasks, you just have to copy and paste the system access path to PHP, Perl or Python according to the script you'll execute, type the path within your account for the specific script file and then select how often your cron job has to be carried out. For the aforementioned, you can use the standard mode and choose the minutes, hours, days, etc. via simple drop-down menus, or in case you are more knowledgeable, you can use the advanced mode and set the time period with numbers and asterisks i.e. the standard method which you may have employed with other Control Panels.

Cron Jobs in Semi-dedicated Hosting

If you want to use cron jobs for some of your sites and you have a semi-dedicated server account with our company, it won't take you more than a couple of clicks inside your Hepsia hosting Control Panel to do that. Setting up a new cron job is quite simple and you can easily add one through the Advanced section of Hepsia where you will find a box to type in two things - the path to the programming language system files which you can find inside the Server Information area (PHP, Python, Perl) and the path to the script that you'd like the cron job to run. The last step is to determine how often the cron will run and we've got a very user-friendly interface for that, so 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 standard, although more sophisticated way to set a cron interval through digits and asterisks, you can use this method as well.