A cron job is a command, that works conveniently in the background over a pre-set time period and it runs a script in a web hosting account. There aren't any restrictions in regard to what the script can be - PHP, Bash, Perl, etcetera, what it can do, or what exactly the file extension will be. Examples are sending an everyday report with the client activity within a specific website, generating a regular backup or erasing the files in a particular folder. These types of tasks or any other script can be executed on intervals selected by the end user - every couple of minutes, hours or days, and even every month or maybe annually depending on the particular purpose. Working with cron jobs to improve different areas of administrating a site saves lots of time and efforts.

Cron Jobs in Shared Hosting

Setting up a cron job requires simply three easy steps if you get a shared hosting package with our company. The Hepsia Control Panel, that is featured with all the website hosting accounts, features a section centered on the crons and when you go there, you should type the folder path to the script that you want to be run, the command path to the server files for the specified programming language (Perl, Python, PHP), which you can copy from the Server Information section, and set how frequently the cron job should run. For the time interval, we provide two choices - an easy to use one with drop-down menus where one can pick the minutes, hours, days or months, as well as a more advanced one that is used with other hosting Control Panels in which you should type numbers and asterisks on certain positions that outline different periods of time.