A cron job is an automated task, that executes a specific action - generally executing a script in a website hosting account. The task is pre-set, which means that it will run on a regular basis - hourly, daily, weekly and so on. There are many good reasons to employ a cron job for your websites. As an example, you may get regular reports how many website visitors have registered on your website, a temp folder can be emptied automatically every week or a backup of the content can be generated in a separate folder in your web hosting account. Employing cron jobs can help you with the administration of your sites as you'll be able to get a lot of things executed automatically and get reports for them, as an alternative to investing precious time and efforts to complete them by hand.

Cron Jobs in Website Hosting

The Hepsia Control Panel, which is provided with all of the website hosting, allows you to set up cron jobs in a few easy steps even if you haven't ever employed this option previously. As soon as you sign in and proceed to the Cron Jobs area where you'll be able to set background tasks, you just need to copy and paste the system access path to PHP, Pyton or Perl depending on the script that you'll execute, type the path inside of your account for the specific script file and after that choose how often the cron job will be carried out. For the latter, you'll be able to use the basic mode and pick the days, hours, minutes, etc. via simple drop-down menus, or if you are more skilled, you'll be able to use the advanced mode and specify the time period with numbers and asterisks i.e. the standard method that you may have employed with different Control Panels.

Cron Jobs in Semi-dedicated Servers

If you use a semi-dedicated server account from our company to host your websites, you'll be able to install cron jobs for all of them without any difficulty. This can be done in three simple steps inside the Hepsia Control Panel that's used to control the web hosting account, so you can set up a new cron even if you don't have any prior experience. Inside the Cron Jobs section of Hepsia, you will find a box where you have to copy and paste the path to the system files in your account for the programming language your script was written in - Perl, Bash, Python, PHP, etc. You also have to provide the folder path to the script file that will be executed in the same box and then use our user-friendly drop-down menus to select how often our system will run the cron. More advanced users, can also use the traditional method of creating a cron job by typing digits and asterisks in specific positions as well as the aforementioned paths.