A cron job is a command, that runs automatically in the background over a predefined period and it runs a script inside a hosting account. There won't be 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. A few examples are mailing a day-to-day report with all the user activity within a specified site, creating a regular backup or erasing the files in a specific folder. These kinds of tasks or some other script can be run on intervals picked by the user - each few minutes, hours or days, and even every month as well as annually according to the particular purpose. Working with cron jobs to automate different areas of managing a site saves lots of time and efforts.

Cron Jobs in Shared Website Hosting

Setting up a cron job requires just 3 very simple steps when you get a shared website hosting plan through our company. The Hepsia Control Panel, that comes with all the web hosting accounts, has a section focused on the crons and as soon as you go there, you need to type the folder path to the script which you want to be run, the command path to the system files for the particular programming language (Perl, Python, PHP), which you can copy from the Server Information section, and then specify how frequently the cron job needs to run. For the time interval, we provide two options - a user-friendly one with drop-down menus where you can choose the minutes, hours, days or months, along with a more advanced one that's used with many other website hosting Control Panels in which you are required to type numbers and asterisks on particular positions that outline separate time periods.