A cron job is a command, that works conveniently in the background on a pre-set period of time and it runs a script in a website hosting account. There aren't any restrictions regarding what the script can be - PHP, Bash, Perl, etc., what it could do, or what exactly the file extension will be. Some examples are sending a day-to-day report with all the user activity on a specified site, creating a regular backup or deleting the files within a specific folder. These tasks as well as any other script can be executed on intervals picked by the user - every few minutes, hours or days, and even once a month or perhaps once a year depending on the exact purpose. Making use of cron jobs to automate various aspects of managing a website saves considerable time and efforts.

Cron Jobs in Web Hosting

The Hepsia Control Panel, which is provided with all the Linux web hosting, will help you to create cron jobs in a few basic steps even when you haven't ever used this type of option previously. Once you sign in and go to the Cron Jobs area where you're able to create background tasks, you just have to paste the system access path to PHP, Perl or Python based on the script you will run, type the path within your account for the specific script file and then select how often the cron job has to be carried out. For the latter, you'll be able to use the basic mode and choose the minutes, hours, days, etc. using straightforward drop-down menus, or maybe if you are more experienced, you can use the advanced mode and specify the time period with numbers and asterisks i.e. the usual method that you might have used with different Control Panels.

Cron Jobs in Semi-dedicated Hosting

If you want to use cron jobs for some of your sites and you have a semi-dedicated server account from us, it won't take you more than a couple of clicks in your Hepsia web hosting Control Panel to do that. Installing a brand new cron job is very simple and you're able to add one through the Advanced part of Hepsia where you'll find a box to enter two different things - the path to the programming language system files that you'll find in the Server Information section (Perl, Python, PHP) along with the path to the particular script that you need the cron job to run. The final step is to select how often the cron will be executed and we have an extremely user-friendly interface for that, which means that by using drop-down menus you can pick the interval in minutes, hours or days. If you are more tech-savvy or used to this standard, though more complex way to assign a cron interval employing digits and asterisks, you can use this alternative as well.