A cron job is an automatic task, which executes a particular action - usually running some script inside a website hosting account. The task is scheduled, which means that it will run on a regular basis - hourly, daily, weekly etc. There are lots of reasons to make use of a cron job for your websites. For example, you can get daily reports how many site visitors have registered on your site, a temporary folder can be emptied automatically every week or a backup of the content can be created in a separate folder in your hosting account. Using cron jobs will help you with the administration of your sites as it is possible to have many things executed automatically and have reports about them, instead of spending time and efforts to do them yourself.

Cron Jobs in Shared Hosting

Setting up a cron job requires just 3 very simple steps when you obtain a shared hosting package with us. The Hepsia Control Panel, that is featured with all of the website hosting accounts, has a section dedicated to the crons and when you get there, you should type the folder path to the script that you'd like to be executed, the command path to the system files for the specific programming language (Perl, Python, PHP), that you can copy from the Server Information section, and then specify how frequently the cron job has to run. For that time interval, we provide two options - a very intuitive one with drop-down menus where one can select the minutes, hours, days or months, as well as a more complex one that's used with many other hosting Control Panels where you should type numbers and asterisks on specific positions that outline different time periods.

Cron Jobs in Semi-dedicated Servers

In case you use a semi-dedicated server account with our company to host your sites, you'll be able to install cron jobs for all of them with ease. This can be done in three uncomplicated steps from the Hepsia Control Panel that is used to take care of the web hosting account, so you'll be able to set up a new cron even if you do not have any previous experience. Within the Cron Jobs area of Hepsia, you'll discover a box where you should copy and paste the path to the system files inside your account for the programming language your script was designed in - PHP, Perl, Bash, Python, etc. You also need to submit the folder path to the script file which will be executed in the same box and use our intuitive drop-down menus to decide how often our system will run the cron. More advanced users, can also take advantage of the traditional method of creating a cron job by typing digits and asterisks in specific positions in addition to the previously mentioned paths.