A cron job is a command, which functions conveniently in the background on a pre-set period of time and it also executes a script within a web hosting account. There are no limitations regarding what the script can be - PHP, Bash, Perl, etc., what it can do, or what exactly the file extension should be. A few examples are supplying an everyday report with the end user activity on a specified site, generating a regular backup or deleting the files within a certain folder. These types of tasks and / or any other script can be run on time intervals picked by the user - every couple of minutes, hours or days, and even once per month as well as once a year according to the specific purpose. Making use of cron jobs to speed up numerous aspects of administrating a website saves considerable time and efforts.

Cron Jobs in Shared Web Hosting

Creating a cron job will take you exactly three very simple steps if you get a shared web hosting package from us. The Hepsia Control Panel, that is featured with all of the hosting accounts, has a section focused on the crons and as soon as you go there, you should enter the folder path to the script that you would like to be executed, the command path to the system files for the specific programming language (Perl, Python, PHP), which you can copy and paste from the Server Information section, and then specify how often the cron job has to run. For the time interval, we provide two options - a user-friendly one with drop-down menus where one can choose the minutes, hours, days and/or months, and a more complex one that's used with other hosting Control Panels in which you should type numbers and asterisks on certain positions that outline separate periods of time.