A cron job is a command, that runs automatically in the background over a pre-set time period and it executes a script in a website hosting account. There are no restrictions regarding what the script can be - PHP, Bash, Perl, etc., what it can do, or what exactly your file extension should be. Some examples are sending a regular report with the user activity on a given site, generating a regular backup or deleting the content inside a specific folder. These types of tasks as well as some other script can be executed on time periods selected by the end user - every couple of minutes, hours or days, and even once a month or maybe once per year based on the specific intent. Using cron jobs to improve numerous elements of managing a website saves considerable time and efforts.
Cron Jobs in Cloud Hosting
Creating a cron job will take you exactly three simple steps when you acquire a cloud hosting package with our company. The Hepsia Control Panel, that comes with all the hosting accounts, has an area centered on the crons and when you get there, you have to type the folder path to the script that you'd like to be run, the command path to the server files for the specified programming language (Perl, Python, PHP), which you can copy from the Server Information section, and set how frequently the cron job has to run. For that time interval, our company offers two options - a very intuitive one with drop-down navigation where one can pick the minutes, hours, days or months, along with a more complex one that is used with various other hosting Control Panels in which you are required to type numbers and asterisks on particular positions that define different time periods.
Cron Jobs in Semi-dedicated Hosting
If you want to use cron jobs for any of your sites and you have a semi-dedicated server account from our company, it will not take you more than a few clicks in your Hepsia web hosting Control Panel to do that. Setting up a brand new cron job is really easy and you will be able to add one through the Advanced part of Hepsia where you'll find a box to provide two different things - the path to the programming language system files that you can find inside the Server Information section (PHP, Perl, Python) along with the path to the particular script that you would like the cron job to run. The final step is to select how often the cron will be executed and we've got a rather time and effort saving interface for that, therefore by using drop-down menus you're able to select the interval in days, hours or minutes. If you are more tech-savvy or used to the standard, though more advanced way to set a cron interval using digits and asterisks, you can use this option as well.