A cron job is a command, that functions automatically in the background on a predefined period and it runs a script in a hosting account. There are no limitations regarding what the script can be - PHP, Bash, Perl, etcetera, what it can do, or what exactly the file extension should be. Some examples are sending a daily report with the end user activity within a specified website, generating a routine backup or erasing the content inside a particular folder. These types of tasks and / or almost every other script can be run on time intervals specified by the user - every few minutes, hours or days, and even once per month or perhaps once a year according to the exact intent. Making use of cron jobs to improve numerous elements of administrating a site saves lots of time and efforts.

Cron Jobs in Cloud Web Hosting

Creating a cron job requires precisely 3 very simple steps when you get a cloud web hosting package with our company. The Hepsia Control Panel, that comes with all the hosting accounts, has a section dedicated to the crons and once you get there, you should type the folder path to the script that you'd like to be executed, the command path to the system files for the particular programming language (Perl, Python, PHP), which you can copy and paste from the Server Information section, and then specify how often the cron job has to run. For that time interval, our company offers two choices - an easy to use one with drop-down navigation where one can select the minutes, hours, days or months, along with a more advanced one that is used with different website hosting Control Panels in which you have to type numbers and asterisks on certain positions that outline different time periods.

Cron Jobs in Semi-dedicated Servers

If you'd like to use cron jobs for any of your sites and you have a semi-dedicated server account with our company, it won't take you more than a couple of clicks in your Hepsia website hosting Control Panel to do that. Setting up 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 provide two things - the path to the programming language system files that you'll find in the Server Information area (PHP, Perl, Python) and the path to the script that you'd like the cron job to execute. The final step is to choose how often the cron will run and we've got a rather user-friendly 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 particular standard, although more complex way to assign a cron interval using digits and asterisks, you can use this solution as well.