A cron job is a command, which works conveniently in the background over a pre-set time period and it runs a script within a web hosting account. There are no limitations regarding what the script can be - PHP, Bash, Perl, etc., what it can do, or what exactly the file extension will be. A few examples are mailing a regular report with all of the client activity on a given website, creating a routine backup or deleting the files in a specific folder. These tasks or some other script can be executed on intervals selected by the end user - every couple of minutes, hours or days, and even once per month or perhaps annually according to the specific purpose. Using cron jobs to speed up different areas of administrating a website saves a lot of time and efforts.
Cron Jobs in Web Hosting
The Hepsia Control Panel, which is included with all the web hosting
, will help you to set up cron jobs in a couple of easy steps even when you have never used such a feature before. As soon as you sign in and proceed to the Cron Jobs section where you're able to set background tasks, you just need to paste the server access path to Perl, Python or PHP with respect to the script you will run, type the path inside of your account for the specific script file and choose how often your cron job has to be carried out. For the latter, you'll be able to use the standard mode and choose the minutes, hours, days, etc. via uncomplicated drop-down navigation, or maybe if you are more knowledgeable, you can take advantage of the advanced mode and specify the time period with numbers and asterisks i.e. the usual method that you may have used with different Control Panels.
Cron Jobs in Semi-dedicated Servers
If you wish to use cron jobs for some of your sites and you have a semi-dedicated server
account with our company, it won't take you more than a couple of clicks inside your Hepsia web hosting Control Panel to do this. Creating a brand new cron job is quite simple and you can easily add one through the Advanced part of Hepsia where you can find a box to type in two things - the path to the programming language system files that you'll find inside the Server Information section (Perl, Python, PHP) and the path to the script that you need the cron job to run. The last step is to decide how often the cron will run and we have an extremely user-friendly interface for that, so by using drop-down menus you're able to pick the interval in minutes, hours or days. In case you are more tech-savvy or used to the particular standard, although more advanced way to set a cron interval using digits and asterisks, you can use this method as well.