Learn about what cron jobs are actually, what they do and ways to make use of them to enhance your digital life.
A cron job is an automated task, that performs a particular action - generally executing a script in a hosting account. The task is pre-set, which means that it will run regularly - weekly, daily, hourly etc. There are many reasons to employ a cron job for your sites. As an example, you can get day-to-day reports how many visitors have registered on your website, some temporary folder can be emptied automatically every week or a backup of your content may be generated in a different folder inside your website hosting account. Making use of cron jobs will help you with the administration of your sites because you'll be able to have lots of things carried out automatically and have reports about them, in lieu of spending valuable time and efforts to complete them by hand.
Cron Jobs in Cloud Hosting
Setting up a cron job requires just 3 simple steps when you acquire a cloud hosting
package from our company. The Hepsia Control Panel, that comes with all of the web hosting accounts, features an area focused on the crons and once you go there, you should enter the folder path to the script which you want to be run, the command path to the server files for the specific programming language (Perl, Python, PHP), which you can copy from the Server Information section, and determine how frequently the cron job needs to run. For the time interval, we provide two options - an easy to use one with drop-down navigation where one can choose the minutes, hours, days and/or months, along with a more advanced one that's used with different hosting Control Panels where you are required to type numbers and asterisks on certain positions that outline different time periods.
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 our company, it will not take you more than a few clicks in your Hepsia web hosting Control Panel to do this. Installing a new cron job is quite simple and you are able to add one from the Advanced part of Hepsia where you'll find a box to provide two different things - the path to the programming language system files that you can find inside the Server Information area (PHP, Python, Perl) and the path to the script that you'd like the cron job to execute. The very last step is to choose how often the cron will be executed and we have a very intuitive interface for that, therefore by using drop-down navigation you can choose the interval in days, hours or minutes. In case you are more tech-savvy or used to this standard, albeit more advanced way to assign a cron interval employing digits and asterisks, you can use this method as well.