A cron job is a command, that functions conveniently in the background on a predefined time period and it also runs a script within a website hosting account. There are no limits in regard to what the script can be - PHP, Bash, Perl, etcetera, what it could do, or what exactly your file extension will be. A few examples are sending a regular report with the end user activity within a specified website, creating a regular backup or deleting the files inside a certain folder. These kinds of tasks and / or almost every other script can be executed on time intervals specified by the end user - every few minutes, hours or days, and even once a month as well as annually depending on the specific objective. Making use of cron jobs to speed up diverse elements of administrating a site saves considerable time and efforts.
Cron Jobs in Hosting
The Hepsia Control Panel, which comes with all our Linux hosting plans
, will help you to set up cron jobs in a couple of easy steps even when you have not employed this feature before. As soon as you sign in and go to the Cron Jobs section where you'll be able to create background tasks, you just need to copy and paste the server access path to Perl, Python or PHP based on the script you will run, type the path in your account to the specific script file and after that choose how often your cron job will be executed. For the latter, you'll be able to use the basic mode and pick the days, hours, minutes, etcetera through straightforward drop-down options, or in case you are more skilled, you'll be able to use the advanced mode and set the time interval with numbers and asterisks i.e. the usual method that you may have employed with various other Control Panels.
Cron Jobs in Semi-dedicated Servers
If you would like to use cron jobs for any of your websites 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. Setting up a brand new cron job is very easy and you can easily add one through the Advanced section of Hepsia where you'll find a box to enter 2 things - the path to the programming language system files that you will find in the Server Information section (Perl, Python, PHP) and the path to the script that you wish the cron job to execute. The last step is to determine how often the cron will run and we have a really intuitive interface for that, therefore by using drop-down menus you can easily choose the interval in minutes, hours or days. In case you are more tech-savvy or used to the standard, though more complex way to set a cron interval using digits and asterisks, you can use this option as well.