Cron Jobs
Discover what cron jobs are actually, what they do and the way to use them to boost your digital life.
A cron job is an automated task, that performs a particular action - usually running a script inside a web hosting account. The task is pre-set, so that it will run regularly - weekly, daily, hourly etc. There are various reasons to use a cron job for your sites. For example, you may get daily reports how many visitors have registered on your website, some temp folder can be emptied automatically per week or a backup copy of the content may be generated in a different folder within your hosting account. Employing cron jobs can help you with the management of your sites since you'll be able to have lots of things carried out automatically and have reports for them, instead of spending time and efforts to complete them manually.
-
Cron Jobs in Shared Hosting
The Hepsia Control Panel, that is featured with all the
shared hosting service, will help you to set up cron jobs in a couple of simple steps even when you haven't ever used this option before. When you log in and navigate to the Cron Jobs area where you can create background tasks, you just have to paste the system access path to PHP, Perl or Python based on the script you'll execute, type the path inside of your account to the specific script file and after that select how often the cron job has to be carried out. For the latter, you can use the basic mode and choose the days, hours, minutes, etc. using simple drop-down navigation, or in case you are more experienced, you can use the advanced mode and set the time period with numbers and asterisks i.e. the standard method which you might have used with different Control Panels.
-
Cron Jobs in Semi-dedicated Servers
If you'd like to use cron jobs for some of your websites and you have a
semi-dedicated server account with us, it will not take you more than a couple of clicks in your Hepsia web hosting Control Panel to do this. Creating a brand new cron job is easy and you are able to add one from the Advanced section of Hepsia where you will find a box to enter two different things - the path to the programming language system files which you can find in the Server Information area (Perl, Python, PHP) along with the path to the script that you would like the cron job to run. The final step is to determine how often the cron will be executed and we have a really user-friendly interface for that, therefore by using drop-down navigation you'll be able to select the interval in days, hours or minutes. If you are more tech-savvy or used to the particular standard, though more sophisticated way to assign a cron interval through digits and asterisks, you can use this alternative as well.