Cron jobs are scheduled tasks, that run on regular time intervals pre-set by the user and they execute scripts written in various programming languages - PHP, Perl, Bash, and the like. In accordance with what exactly a cron needs to do, it can run each and every minute, once a week or even once per year. There are lots of effective applications to make use of cron jobs in the daily management of a website. Such as, a backup copy of the whole site may be generated daily or maybe once per week or an e-mail with all of the new signups for the day may be delivered to a particular email address. Such automatic options will make the management of any site much easier. There are no precise file types that can be allowed / forbidden, so every script can be executed by using a cron job.
Cron Jobs in Website Hosting
Setting up a cron job requires exactly 3 easy steps if you get a website hosting package from our company. The Hepsia Control Panel, that comes with all the website hosting accounts, has an area centered on the crons and once you get there, you need to type the folder path to the script which you want to be run, the command path to the system files for the particular programming language (Perl, Python, PHP), that you can copy and paste from the Server Information section, and after that determine how often the cron job should run. For that time interval, we provide two options - a very intuitive one with drop-down navigation where one can pick the minutes, hours, days or months, and a more advanced one that's used with various other website hosting Control Panels in which you need to type numbers and asterisks on certain positions that define separate periods of time.