A cron job is a command, which functions conveniently in the background over a predefined period and it also runs a script in a hosting account. There aren't any limits regarding what the script can be - PHP, Bash, Perl, etcetera, what it can do, or what exactly the file extension should be. Examples are sending a day-to-day report which contains all of the client activity within a specified site, generating a regular backup or deleting the files in a certain folder. These tasks and / or some other script can be executed on time intervals chosen by the end user - each couple of minutes, hours or days, and even every month or perhaps once per year based on the particular intent. Using cron jobs to speed up numerous elements of managing a site saves considerable time and efforts.
Cron Jobs in Cloud Website Hosting
Creating a cron job requires just 3 quick steps if you get a cloud website hosting package with our company. The Hepsia Control Panel, that comes with all the web hosting accounts, features an area dedicated to the crons and when you get there, you should enter the folder path to the script that you'd like to be run, the command path to the server files for the particular programming language (Perl, Python, PHP), which you can copy from the Server Information section, and specify how frequently the cron job has to run. For that time interval, we offer two options - an easy to use one with drop-down menus where you can select the minutes, hours, days and/or months, as well as a more advanced one that is used with different web hosting Control Panels in which you are expected to type numbers and asterisks on particular positions that outline different periods of time.
Cron Jobs in Semi-dedicated Servers
If you'd like to use cron jobs for any of your websites and you have a semi-dedicated server account with us, it won't take you more than a few clicks inside your Hepsia web hosting Control Panel to do this. Creating a new cron job is very simple and you are able to add one through the Advanced section of Hepsia where you will find a box to type in two different things - the path to the programming language system files that you can find inside the Server Information area (Perl, Python, PHP) along with the path to the script that you want the cron job to run. The last step is to select how often the cron will run and we've got a rather time and effort saving interface for that, so by using drop-down menus you're able to choose the interval in minutes, hours or days. If you are more tech-savvy or used to this standard, albeit more complex way to set a cron interval using digits and asterisks, you can use this alternative as well.