A cron job is a command, which functions automatically in the background on a pre-set period of time and it also executes a script inside a web hosting account. There are no limits in regard to what the script is - PHP, Bash, Perl, etc., what it could do, or what exactly your file extension will be. Examples are mailing an everyday report with all the client activity within a specified website, creating a regular backup or erasing the content in a particular folder. These tasks or some other script can be run on time periods specified by the user - each couple of minutes, hours or days, and even monthly as well as once per year based on the exact goal. Making use of cron jobs to improve diverse elements of managing a site saves considerable time and efforts.

Cron Jobs in Shared Hosting

Creating a cron job requires precisely three easy steps when you acquire a shared hosting plan with us. The Hepsia Control Panel, that is featured with all of the website hosting accounts, features an area focused on the crons and when you go there, you have to enter the folder path to the script that you would like to be run, the command path to the system files for the specific programming language (Perl, Python, PHP), which you can copy and paste from the Server Information section, and then specify how often the cron job needs to run. For that time interval, our company offers two choices - a very intuitive one with drop-down menus where you can select the minutes, hours, days or months, and a more advanced one that's used with many other web hosting Control Panels where you should type numbers and asterisks on particular positions that outline separate time periods.

Cron Jobs in Semi-dedicated Servers

You are able to create as many cron jobs as you need if you host your sites in a semi-dedicated server account from our company and it doesn't take more than one minute to do that. Unlike various website hosting Control Panels where you have to enter commands and use numbers and asterisks on a single line to be able to create a cron job, the Hepsia Control Panel has a time and effort saving interface where you'll be able to select how often a cron should run by using simple drop-down menus to choose the minutes, hours, weekdays, etcetera. The only two things that you will have to type in manually are the folder path to the script file which should be executed and the command path to the programming language system files in the account (PHP. Perl, Python). You'll be able to copy the latter from the Server Information area of your web hosting Control Panel, so it will not take you more than several clicks to set up a cron job within your semi-dedicated account.