A cron job is a command, that runs automatically in the background on a predefined period and it runs a script inside a web hosting account. There are no restrictions regarding what the script can be - PHP, Bash, Perl, etcetera, what it can do, or what exactly the file extension will be. Examples are mailing a regular report which contains all the end user activity within a given website, creating a regular backup or erasing the content in a certain folder. These types of tasks and / or any other script can be executed on time periods chosen by the end user - every couple of minutes, hours or days, and even monthly or perhaps once a year based on the specific goal. Using cron jobs to speed up different areas of managing a website saves lots of time and efforts.
Cron Jobs in Shared Hosting
Setting up a cron job will take you precisely 3 quick steps when you get a shared hosting package from us. The Hepsia Control Panel, which comes with all the web hosting accounts, has an area dedicated to the crons and as soon as you go there, you need to enter the folder path to the script that you would like to be run, the command path to the server files for the specific programming language (Perl, Python, PHP), that you can copy and paste from the Server Information section, and after that determine how often the cron job has to run. For that time interval, we offer two choices - a user-friendly one with drop-down menus where one can pick the minutes, hours, days and/or months, as well as a more advanced one that's used with many other website hosting Control Panels where you are required to type numbers and asterisks on particular positions that outline separate periods of time.
Cron Jobs in Semi-dedicated Hosting
If you would like to use cron jobs for some of your websites and you have a semi-dedicated server account with us, it won't take you more than a couple of clicks inside your Hepsia web hosting Control Panel to do this. Setting up a brand new cron job is quite simple and you will be able to add one through the Advanced section of Hepsia where you'll find a box to type in two different things - the path to the programming language system files which you'll find in the Server Information area (PHP, Perl, Python) along with the path to the particular script that you would like the cron job to run. The final step is to decide how often the cron will run and we've got a really user-friendly interface for that, therefore by using drop-down menus you can easily select the interval in days, hours or minutes. In case you are more tech-savvy or used to the particular standard, albeit more advanced way to assign a cron interval through digits and asterisks, you can use this alternative as well.