A cron job is a command, which functions conveniently in the background over a pre-set period and it executes a script in a web hosting account. There won't be any limitations regarding what the script is - PHP, Bash, Perl, etcetera, what it could do, or what exactly your file extension will be. Examples are mailing a regular report with all the end user activity within a specified website, generating a routine backup or deleting the content inside a certain folder. These tasks and / or some other script can be run on intervals selected by the end user - every couple of minutes, hours or days, and even monthly or maybe annually based on the specific intent. Making use of cron jobs to automate various elements of administrating a site saves lots of time and efforts.
Cron Jobs in Cloud Web Hosting
Creating a cron job requires simply three easy steps when you acquire a cloud web hosting plan with us. The Hepsia Control Panel, that is featured with all the website hosting accounts, features an area centered on the crons and once you get there, you should type the folder path to the script which you want to be run, the command path to the server files for the specified programming language (Perl, Python, PHP), which you can copy and paste from the Server Information section, and after that specify how frequently the cron job should run. For the time interval, we offer two choices - an easy to use one with drop-down navigation where one can select the minutes, hours, days or months, as well as a more advanced one that's used with different hosting Control Panels where you should type numbers and asterisks on certain positions that define different time periods.
Cron Jobs in Semi-dedicated Servers
If you wish to use cron jobs for any of your websites and you have a semi-dedicated server account from our company, it won't take you more than a couple of clicks in your Hepsia hosting Control Panel to do this. Creating a brand new cron job is quite simple and you can easily add one from the Advanced part of Hepsia where you will find a box to provide 2 things - the path to the programming language system files that you will find inside the Server Information section (PHP, Perl, Python) along with the path to the script that you'd like the cron job to run. The very last step is to select how often the cron will run and we have a very intuitive interface for that, which means that by using drop-down menus you're able to pick the interval in minutes, hours or days. If you are more tech-savvy or used to this standard, though more complex way to set a cron interval through digits and asterisks, you can use this method as well.