A cron job is a command, that works conveniently in the background on a pre-set period of time and it executes a script within a website hosting account. There are no limitations regarding what the script can be - PHP, Bash, Perl, etcetera, what it can do, or what exactly your file extension will be. A few examples are sending a regular report with all of the user activity within a given website, generating a routine backup or erasing the content within a particular folder. These tasks or almost every other script can be run on time periods chosen by the user - each couple of minutes, hours or days, and even once per month or maybe annually based on the exact intent. Working with cron jobs to speed up different elements of managing a site saves a lot of time and efforts.
Cron Jobs in Cloud Hosting
The Hepsia Control Panel, which comes with all of the Linux cloud hosting plans, will allow you to create cron jobs in several easy steps even if you have never used such a option previously. When you log in and visit the Cron Jobs area where you're able to set background tasks, you just have to paste the server access path to Perl, PHP or Python according to the script that you'll execute, type the path inside of your account to the specific script file and then choose how often your cron job will be carried out. For the aforementioned, you'll be able to use the standard mode and select the days, hours, minutes, etc. through uncomplicated drop-down options, or in case you are more skilled, you can take full advantage of the advanced mode and set the time period with numbers and asterisks i.e. the typical method that you might have used with other Control Panels.
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 will not take you more than a couple of clicks in your Hepsia web hosting Control Panel to do that. Installing a new cron job is really easy and you can easily add one through the Advanced section of Hepsia where you can find a box to enter two different things - the path to the programming language system files which you can find in the Server Information area (Perl, Python, PHP) along with the path to the script that you want the cron job to execute. The final step is to choose how often the cron will be executed and we've got a really intuitive interface for that, so by using drop-down navigation you'll be able to select the interval in minutes, hours or days. If you are more tech-savvy or used to the particular standard, albeit more complex way to set a cron interval using digits and asterisks, you can use this alternative as well.