A cron job is a command, which works conveniently in the background on a pre-set period and it also runs a script in a website hosting account. There aren't any limits in regard to what the script is - PHP, Bash, Perl, etc., what it can do, or what exactly the file extension should be. A few examples are supplying a daily report with the client activity on a specific website, generating a routine backup or deleting the files in a specific folder. These types of tasks as well as almost every other script can be executed on time intervals picked by the user - each couple of minutes, hours or days, and even monthly or perhaps once a year depending on the particular objective. Using cron jobs to automate numerous areas of managing a website saves lots of time and efforts.

Cron Jobs in Website Hosting

The Hepsia Control Panel, that is provided with all our Linux website hosting, allows you to set up cron jobs in several easy steps even when you have never employed such a feature previously. After you sign in and visit the Cron Jobs area where you are able to set background tasks, you just have to paste the system access path to Perl, PHP or Python according to the script that you'll run, type the path within your account for the actual script file and after that choose how often your cron job has to be executed. For the latter, you can use the standard mode and pick the minutes, hours, days, etc. through simple drop-down menus, or maybe 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 usual method that you may have employed with various other Control Panels.

Cron Jobs in Semi-dedicated Hosting

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 few clicks inside your Hepsia hosting Control Panel to do this. Installing a brand new cron job is really simple and you are able to add one from the Advanced section of Hepsia where you can find a box to type in two different things - the path to the programming language system files which you'll find inside the Server Information area (PHP, Perl, Python) along with the path to the script that you would like the cron job to execute. The very last step is to determine how often the cron will be executed and we've got a very user-friendly interface for that, so by using drop-down menus you're able to select the interval in minutes, hours or days. In case 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.