A cron job is a command, that works automatically in the background over a pre-set period of time and it executes a script within a web hosting account. There aren't any limits in regard to what the script is - PHP, Bash, Perl, etcetera, what it could do, or what exactly the file extension should be. Examples are mailing a regular report which contains all the end user activity within a given site, creating a regular backup or erasing the content within a certain folder. These kinds of tasks or almost every other script can be executed on time periods picked by the user - every few minutes, hours or days, and even once a month as well as annually according to the exact purpose. Using cron jobs to automate different aspects of managing a website saves considerable time and efforts.

Cron Jobs in Shared Hosting

Setting up a cron job requires exactly three simple steps if you get a shared hosting plan through our company. The Hepsia Control Panel, that comes with all of the website hosting accounts, features an area dedicated to the crons and as soon as you go there, you have to type the folder path to the script that you would like to be run, the command path to the system files for the particular programming language (Perl, Python, PHP), that you can copy and paste from the Server Information section, and set how frequently the cron job should run. For that time interval, our company offers two options - an easy to use one with drop-down menus where you can pick the minutes, hours, days and/or months, as well as a more complex one that's used with many other web hosting Control Panels in which you need to type numbers and asterisks on certain positions that outline different periods of time.