A cron job is an automated task, which performs a particular action - typically executing a script in the hosting account. The task is pre-set, therefore it will run regularly - weekly, daily, hourly and so on. There are various good reasons to use a cron job for your websites. For example, you may get regular reports how many site visitors have registered on your website, some temporary folder may be emptied automatically every week or a backup copy of your content may be generated in a standalone folder within your website hosting account. Using cron jobs can help you with the administration of your sites because you are able to get many things completed automatically and have reports about them, instead of investing time and efforts to complete them yourself.

Cron Jobs in Web Hosting

Creating a cron job will take you precisely 3 easy steps when you acquire a web hosting package from us. The Hepsia Control Panel, that is featured with all the website hosting accounts, features a section dedicated to the crons and as soon as you go there, you have to type the folder path to the script that you want to be run, the command path to the server files for the specific programming language (Perl, Python, PHP), which you can copy and paste from the Server Information section, and after that set how frequently the cron job needs to run. For that time interval, we offer two options - a very intuitive one with drop-down menus where one can choose the minutes, hours, days or months, and a more advanced one that's used with different web hosting Control Panels in which you are required to type numbers and asterisks on particular positions that outline different time periods.

Cron Jobs in Semi-dedicated Hosting

In case you use a semi-dedicated server account from us to host your sites, you'll be able to set up cron jobs for any of them without any difficulty. This is done in three uncomplicated steps in the Hepsia Control Panel that is used to control the web hosting account, so you are able to create a new cron even when you lack previous experience. Inside the Cron Jobs section of Hepsia, you'll find a box where you need to copy/paste the path to the system files inside your account for the programming language your script was written in - Python, PHP, Perl, Bash, etcetera. You also have to provide the folder path to the script file which will be executed in the same box and then use our user-friendly drop-down menus to select how often our system will execute the cron. Advanced users, can also use the traditional method of setting up a cron job by typing digits and asterisks in certain positions as well as the previously mentioned paths.