A cron job is a command, which runs conveniently in the background over a predefined time period and it also executes a script inside a hosting account. There aren't any restrictions regarding what the script is - PHP, Bash, Perl, etc., what it can do, or what exactly your file extension will be. Some examples are supplying an everyday report with all of the client activity within a specified website, generating a regular backup or deleting the content inside a certain folder. These types of tasks and / or almost every other script can be executed on time intervals chosen by the end user - each few minutes, hours or days, and even once per month as well as once per year depending on the specific goal. Making use of cron jobs to improve various elements of managing a website saves lots of time and efforts.
Cron Jobs in Cloud Website Hosting
The Hepsia Control Panel, which is featured with all our cloud website hosting plans, allows you to set up cron jobs in several simple steps even if you have never used such a option before. As soon as you sign in and navigate to the Cron Jobs area where you are able to set background tasks, you just need to copy and paste the system access path to Perl, PHP or Python depending on the script that you will run, type the path within your account to the actual script file and after that select how often your cron job will be carried out. For the aforementioned, you'll be able to use the standard mode and choose the days, hours, minutes, etcetera using uncomplicated drop-down navigation, or if you are more experienced, you can use the advanced mode and specify the time interval with numbers and asterisks i.e. the standard method which you might have employed with various 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 us, it will not take you more than a couple of clicks inside your Hepsia website hosting Control Panel to do this. Setting up a brand new cron job is really easy and you're able to add one from the Advanced part of Hepsia where you can find a box to provide two things - the path to the programming language system files that you will find inside the Server Information area (Perl, Python, PHP) and the path to the particular script that you want the cron job to execute. The last step is to choose how often the cron will be executed and we have a really intuitive interface for that, so by using drop-down navigation you will be able to select the interval in minutes, hours or days. In case you are more tech-savvy or used to this standard, albeit more advanced way to assign a cron interval employing digits and asterisks, you can use this solution as well.