A cron job is an automated task, which executes a certain action - typically running some script in the hosting account. The task is scheduled, so that it will run on a regular basis - hourly, daily, weekly etc. There are various good reasons to employ a cron job for your sites. As an example, you may get regular reports how many site visitors have registered on your website, a temp folder may be emptied automatically weekly or a backup of your content can be made in a different folder inside your web hosting account. Employing cron jobs can help you with the administration of your sites because it is possible to have a lot of things carried out automatically and have reports about them, rather than investing precious time and efforts to do them by hand.

Cron Jobs in Web Hosting

The Hepsia Control Panel, that is provided with all the Linux web hosting, will allow you to create cron jobs in several basic steps even when you haven't ever employed such a option previously. As soon as you log in and navigate to the Cron Jobs section where you're able to create background tasks, you just need to paste the system access path to PHP, Pyton or Perl according to the script you will execute, type the path inside of your account to the actual script file and then select how often your cron job will be carried out. For the aforementioned, you'll be able to use the standard mode and choose the days, hours, minutes, etcetera via uncomplicated drop-down navigation, or if you are more skilled, you can take advantage of the advanced mode and specify the time interval with numbers and asterisks i.e. the usual method which you may have employed with different Control Panels.

Cron Jobs in Semi-dedicated Hosting

If you use a semi-dedicated server account from our company to host your websites, you are able to create cron jobs for any of them with ease. This is done in 3 very easy steps from the Hepsia Control Panel which is used to take care of the web hosting account, so you are able to set up a new cron even if you lack prior experience. Inside the Cron Jobs area of Hepsia, you'll find a box where you need to copy and paste the path to the system files in your account for the programming language your script was written in - PHP, Python, Perl, Bash, and so on. You also need to enter the folder path to the script file that will be executed in the same box and use our intuitive drop-down menus to select how often our system will execute the cron. Advanced users, can also employ the traditional method of setting up a cron job by typing digits and asterisks in specific positions in addition to the aforementioned paths.