A cron job is a command, which works conveniently in the background over a predefined period of time and it runs a script inside a web hosting account. There aren't any restrictions regarding what the script can be - PHP, Bash, Perl, etc., what it can do, or what exactly the file extension will be. Examples are supplying an everyday report which contains all of the client activity within a specified website, creating a routine backup or erasing the content within a specific folder. These kinds of tasks as well as almost every other script can be executed on time periods selected by the user - every few minutes, hours or days, and even monthly or perhaps annually according to the specific goal. Using cron jobs to improve different elements of administrating a website saves considerable time and efforts.
Cron Jobs in Shared Website Hosting
The Hepsia Control Panel, which is included with all our Linux shared website hosting service, will help you to create cron jobs in a few easy steps even when you have never used such a option before. As soon as you sign in and navigate to the Cron Jobs section where you can assign background tasks, you just have to paste the server access path to Perl, Python or PHP according to the script you'll execute, type the path within your account for the specific script file and after that choose how often the cron job has to be executed. For the latter, you'll be able to use the basic mode and pick the days, hours, minutes, etc. via straightforward drop-down navigation, or maybe in case you are more skilled, you'll be able to use the advanced mode and set the time period with numbers and asterisks i.e. the usual method that you may have employed with various Control Panels.
Cron Jobs in Semi-dedicated Servers
If you want to use cron jobs for some of your sites and you have a semi-dedicated server account from our company, it won't take you more than a couple of clicks inside your Hepsia web hosting Control Panel to do that. Installing a new cron job is easy and you're able to add one from the Advanced section of Hepsia where you can find a box to enter two things - the path to the programming language system files which you can find inside the Server Information section (PHP, Python, Perl) and the path to the script that you'd like the cron job to run. The very last step is to select how often the cron will run and we have a rather time and effort saving interface for that, so by using drop-down navigation you can easily select the interval in minutes, hours or days. If you are more tech-savvy or used to this standard, albeit more sophisticated way to assign a cron interval through digits and asterisks, you can use this alternative as well.