A cron job is a command, which works conveniently in the background over a predefined period and it runs a script within a website hosting account. There won't be any restrictions regarding what the script can be - PHP, Bash, Perl, etcetera, what it can do, or what exactly the file extension should be. A few examples are supplying an everyday report with all the end user activity within a given site, generating a regular backup or erasing the content within a certain folder. These tasks or almost every other script can be executed on time periods picked by the end user - every couple of minutes, hours or days, and even every month as well as once per year according to the specific purpose. Working with cron jobs to automate diverse elements of managing a site saves considerable time and efforts.
Cron Jobs in Shared Website Hosting
Setting up a cron job will take you simply three simple steps when you acquire a shared website hosting plan from us. The Hepsia Control Panel, that comes with all of the hosting accounts, has an area focused on the crons and once you get there, you need to enter the folder path to the script that you'd like to be executed, the command path to the server files for the specified programming language (Perl, Python, PHP), which you can copy and paste from the Server Information section, and set how frequently the cron job has to run. For that time interval, we provide two options - a very intuitive one with drop-down menus where you can choose the minutes, hours, days and/or months, as well as a more advanced one that's used with different hosting Control Panels in which you should type numbers and asterisks on particular positions that outline separate periods of time.
Cron Jobs in Semi-dedicated Servers
If you want to use cron jobs for some of your websites and you have a semi-dedicated server account from our company, it won't take you more than a few clicks in your Hepsia web hosting Control Panel to do this. Creating a brand new cron job is really simple and you can add one from the Advanced section of Hepsia where you will find a box to provide two different things - the path to the programming language system files which you'll find in the Server Information area (PHP, Perl, Python) and the path to the script that you would like the cron job to execute. The final step is to determine how often the cron will be executed and we've got an extremely time and effort saving interface for that, so by using drop-down menus you're able to pick the interval in minutes, hours or days. In case you are more tech-savvy or used to the standard, albeit more sophisticated way to assign a cron interval using digits and asterisks, you can use this alternative as well.