A cron job is a command, which works automatically in the background over a pre-set period and it also executes a script inside a website hosting account. There are no restrictions 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 sending a daily report with all of the user activity on a specified website, generating a routine backup or erasing the files in a specific folder. These tasks as well as some other script can be executed on intervals chosen by the end user - each few minutes, hours or days, and even every month as well as annually according to the specific purpose. Working with cron jobs to speed up diverse elements of managing a site saves a lot of time and efforts.

Cron Jobs in Shared Hosting

The Hepsia Control Panel, that is provided with all of the Linux shared hosting, will allow you to set up cron jobs in a few basic steps even if you haven't ever employed this type of feature before. When you log in and navigate to the Cron Jobs section where you are able to set background tasks, you just need to copy and paste the system access path to Perl, PHP or Python based on the script you'll run, type the path in your account to the actual script file and then choose how often the cron job will be executed. For the latter, you'll be able to use the basic mode and select the days, hours, minutes, etc. using uncomplicated drop-down navigation, or maybe if you are more knowledgeable, you'll be able to use the advanced mode and set the time interval with numbers and asterisks i.e. the typical method that you may have employed with different Control Panels.

Cron Jobs in Semi-dedicated Hosting

If you wish to use cron jobs for any of your sites and you have a semi-dedicated server account from our company, it will not take you more than a few clicks inside your Hepsia hosting Control Panel to do that. Setting up a brand new cron job is easy and you will be able to add one from the Advanced part of Hepsia where you will find a box to type in 2 things - the path to the programming language system files that you'll find in the Server Information section (PHP, Perl, Python) and the path to the script that you wish the cron job to run. The final step is to determine how often the cron will be executed and we've got a rather time and effort saving interface for that, so by using drop-down menus you'll be able to pick the interval in days, hours or minutes. If you are more tech-savvy or used to this standard, albeit more sophisticated way to assign a cron interval using digits and asterisks, you can use this method as well.