Learn about what cron jobs are actually, what they do and how to make use of them to improve your digital life.
Cron jobs are timetabled tasks, that run on regular intervals of time pre-set by the user and they execute scripts developed in numerous programming languages - PHP, Perl, Bash, and the like. Depending on what exactly a cron has to do, it can run every single minute, once a week or perhaps each year. There're lots of handy applications to employ cron jobs in the daily management of a site. Such as, a backup of the entire website can be generated every day or once per week or an e-mail with all recent signups for the day may be sent to a particular e-mail address. These types of automated options will make the administration of any website faster and easier. There won't be any specific file types that can be allowed / forbidden, so every script can be run employing a cron job.
Cron Jobs in Cloud Hosting
The Hepsia Control Panel, that is included with all of the cloud hosting
, allows you to create cron jobs in a couple of simple steps even when you haven't ever employed this function before. As soon as 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 Perl, PHP or Python depending on the script you'll run, type the path in your account for the actual script file and after that choose how often your cron job has to be executed. For the aforementioned, you can use the basic mode and pick the days, hours, minutes, etc. via simple drop-down menus, or in case you are more experienced, you can take advantage of the advanced mode and set the time interval with numbers and asterisks i.e. the usual method which you might have employed with different Control Panels.
Cron Jobs in Semi-dedicated Servers
If you would 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 few clicks in your Hepsia hosting Control Panel to do this. Creating a brand new cron job is quite simple and you'll be able to add one through the Advanced part of Hepsia where you'll find a box to type in two things - the path to the programming language system files which you will find in the Server Information section (Perl, Python, PHP) along with the path to the script that you would like the cron job to run. The last step is to determine how often the cron will be executed and we have a rather intuitive interface for that, so by using drop-down navigation you will be able to choose the interval in days, hours or minutes. In case you are more tech-savvy or used to the particular standard, though more complex way to assign a cron interval employing digits and asterisks, you can use this solution as well.