A cron job is a command, that runs conveniently in the background over a predefined period and it runs a script within a website hosting account. There won't be any restrictions regarding what the script is - PHP, Bash, Perl, etcetera, what it could do, or what exactly the file extension will be. Some examples are mailing an everyday report with all the client activity on a specified website, generating a routine backup or erasing the content in a specific folder. These types of tasks as well as some other script can be executed on intervals specified by the end user - every few minutes, hours or days, and even once per month or maybe annually based on the exact objective. Using cron jobs to automate numerous aspects of managing a website saves considerable time and efforts.

Cron Jobs in Web Hosting

Setting up a cron job requires just three simple steps when you obtain a web hosting package through us. The Hepsia Control Panel, that is featured with all the website hosting accounts, has a section focused on the crons and when you get there, you should type the folder path to the script that you'd like to be executed, 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 then specify how frequently the cron job has to run. For that time interval, our company offers two choices - an easy to use one with drop-down menus where you can choose the minutes, hours, days or months, along with a more advanced one that's used with various other website hosting Control Panels where you need to type numbers and asterisks on certain positions that define separate periods of time.