What is a cron job? What ?job? does a cron job typically perform? How do cron jobs make your online experience much easier?
A cron job is a command, that functions conveniently in the background over a pre-set time period and it runs a script within a web hosting account. There are no limits in regard to what the script can be - PHP, Bash, Perl, etc., what it could do, or what exactly your file extension will be. A few examples are supplying an everyday report with all of the end user activity on a specific site, generating a routine backup or deleting the files within a certain folder. These types of tasks and / or almost every other script can be executed on time intervals chosen by the end user - every couple of minutes, hours or days, and even monthly or maybe once per year based on the particular goal. Making use of cron jobs to improve different areas of administrating a site saves lots of time and efforts.
Cron Jobs in Cloud Web Hosting
Setting up a cron job requires exactly three easy steps when you obtain a cloud web hosting package through us. The Hepsia Control Panel, which comes with all the website hosting accounts, features an area dedicated to the crons and when you go there, you need to enter the folder path to the script that you want to be executed, the command path to the server files for the selected programming language (Perl, Python, PHP), which you can copy from the Server Information section, and after that specify how often the cron job needs to run. For that time interval, we provide two options - an easy to use one with drop-down menus where one can pick the minutes, hours, days and/or months, and a more complex one that is used with various other website hosting Control Panels in which you should type numbers and asterisks on specific positions that define different time periods.