A cron job is a command, which functions automatically in the background over a pre-set time period and it runs a script within a hosting account. There aren't any restrictions in regard to what the script can be - PHP, Bash, Perl, etcetera, what it can do, or what exactly your file extension should be. Examples are supplying a daily report with all the end user activity on a specified website, generating a routine backup or erasing the files in a specific folder. These kinds of tasks and / or almost every other script can be executed on time periods picked by the user - every couple of minutes, hours or days, and even every month or perhaps once a year according to the exact purpose. Working with cron jobs to automate various elements of administrating a site saves a lot of time and efforts.

Cron Jobs in Website Hosting

Creating a cron job will take you precisely three quick steps when you get a website hosting package through our company. The Hepsia Control Panel, which comes with all the web hosting accounts, has a section centered on the crons and when you go there, you have to enter the folder path to the script which you want to be run, the command path to the server files for the selected programming language (Perl, Python, PHP), that you can copy and paste from the Server Information section, and then specify how frequently the cron job needs to run. For the time interval, we offer two options - an easy to use one with drop-down navigation where one can choose the minutes, hours, days or months, along with a more complex one that's used with different web hosting Control Panels in which you have to type numbers and asterisks on particular positions that define different time periods.

Cron Jobs in Semi-dedicated Hosting

If you would like to use cron jobs for any of your sites and you have a semi-dedicated server account with us, it won't take you more than a few clicks inside your Hepsia hosting Control Panel to do that. Setting up a brand new cron job is very simple and you'll be able to add one from the Advanced part of Hepsia where you will find a box to enter two different things - the path to the programming language system files which you can find in the Server Information section (Perl, Python, PHP) and the path to the particular script that you need the cron job to execute. The very last step is to determine how often the cron will run and we've got a rather intuitive interface for that, which means that by using drop-down menus you are able to pick the interval in minutes, hours or days. In case you are more tech-savvy or used to the standard, albeit more advanced way to set a cron interval using digits and asterisks, you can use this solution as well.