A cron job is a command, that runs automatically in the background over a predefined period and it runs a script in a web hosting account. There are no restrictions regarding what the script is - PHP, Bash, Perl, etc., what it can do, or what exactly your file extension should be. Examples are sending a daily report with all of the client activity within a specified site, generating a routine backup or deleting the content inside a specific folder. These types of tasks as well as some other script can be run on intervals chosen by the user - each couple of minutes, hours or days, and even once per month as well as annually based on the particular goal. Making use of cron jobs to speed up numerous areas of managing a website saves lots of time and efforts.

Cron Jobs in Web Hosting

Setting up a cron job will take you exactly 3 quick steps when you get a web hosting package through us. The Hepsia Control Panel, that comes with all the 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'd like to be run, the command path to the system files for the specific programming language (Perl, Python, PHP), that you can copy from the Server Information section, and set how frequently the cron job should run. For that time interval, we provide two options - an easy to use one with drop-down navigation where you can choose the minutes, hours, days or months, and a more complex one that's used with many other hosting Control Panels where you need to type numbers and asterisks on certain positions that define separate time periods.