A cron job is a command, that runs automatically in the background on a pre-set time period and it also executes a script inside a website hosting account. There won't be any restrictions regarding what the script is - PHP, Bash, Perl, etc., what it could do, or what exactly your file extension should be. Some examples are mailing a day-to-day report with all of the end user activity on a specific site, generating a routine backup or erasing the files in a specific folder. These kinds of tasks and / or almost every other script can be executed on time periods specified by the end user - each couple of minutes, hours or days, and even monthly or perhaps annually according to the particular goal. Using cron jobs to improve different elements of administrating a website saves a lot of time and efforts.
Cron Jobs in Website Hosting
The Hepsia Control Panel, that comes with all of the Linux website hosting, will allow you to set up cron jobs in several easy steps even if you have not employed this type of option before. After you sign in and go to the Cron Jobs area where you'll be able to set background tasks, you just have to copy and paste the system access path to PHP, Perl or Python based on the script you'll run, type the path in your account to the actual script file and choose how often the cron job has to be carried out. For the aforementioned, you can use the standard mode and pick the minutes, hours, days, etcetera using simple drop-down options, or in case you are more knowledgeable, you'll be able to use the advanced mode and specify the time period with numbers and asterisks i.e. the usual method that you might have employed with different Control Panels.
Cron Jobs in Semi-dedicated Servers
If you'd like to use cron jobs for some 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 that. Installing a new cron job is very easy and you will be able to add one from the Advanced part of Hepsia where you will 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) along with the path to the particular script that you need the cron job to execute. The final step is to determine how often the cron will run and we've got a really time and effort saving interface for that, therefore by using drop-down navigation you'll be able to choose the interval in days, hours or minutes. If you are more tech-savvy or used to the particular standard, though more sophisticated way to set a cron interval using digits and asterisks, you can use this method as well.