A cron job is a command, that runs automatically in the background on a predefined period of time and it also executes a script in a web hosting account. There aren't any restrictions regarding what the script is - PHP, Bash, Perl, etc., what it can do, or what exactly your file extension will be. Some examples are sending an everyday report with all of the end user activity on a specific site, generating a regular backup or erasing the files in a specific folder. These tasks and / or any other script can be run on time periods specified by the end user - each few minutes, hours or days, and even monthly or once a year based on the particular intent. Using cron jobs to automate diverse areas of administrating a site saves considerable time and efforts.

Cron Jobs in Shared Hosting

Creating a cron job will take you just three very simple steps when you obtain a shared hosting package from us. The Hepsia Control Panel, which comes with all of the website hosting accounts, features a section dedicated to the crons and once you go there, you should type the folder path to the script that you would like to be run, the command path to the server files for the particular programming language (Perl, Python, PHP), that you can copy from the Server Information section, and then determine how often the cron job has to run. For that time interval, we offer two choices - a user-friendly one with drop-down navigation where one can choose the minutes, hours, days and/or months, as well as a more advanced one that's used with many other website hosting Control Panels where you are required to type numbers and asterisks on certain positions that outline different periods of time.