A cron job is a command, that functions automatically in the background over a predefined time period and it executes a script in a web hosting account. There are no limits regarding what the script can be - PHP, Bash, Perl, etc., what it could do, or what exactly the file extension should be. Some examples are mailing a day-to-day report with all of the user activity on a specific website, generating a regular backup or erasing the content in a specific folder. These kinds of tasks as well as almost every other script can be executed on intervals selected by the user - each couple of minutes, hours or days, and even monthly as well as once per year according to the specific intent. Working with cron jobs to automate various elements of administrating a site saves considerable time and efforts.
Cron Jobs in Cloud Hosting
Creating a cron job requires precisely three simple steps when you obtain a cloud hosting package through us. The Hepsia Control Panel, that comes with all of the web hosting accounts, has a section dedicated to the crons and when you go there, you have to enter the folder path to the script that you would like to be run, the command path to the server files for the specific programming language (Perl, Python, PHP), which you can copy and paste from the Server Information section, and determine how frequently the cron job needs to run. For that time interval, we offer two options - a user-friendly one with drop-down menus where one can pick the minutes, hours, days or months, as well as a more complex one that's used with other hosting Control Panels in which you should type numbers and asterisks on certain positions that define different periods of time.