Cron Jobs
Get more familiar with Cron Jobs - what are they, what function do they serve and how to create them.
A cron job is an automatic task, that executes a certain action - typically executing some script in a website hosting account. The task is planned, so it will run regularly - weekly, daily, hourly etc. There are various good reasons to use a cron job for your websites. As an example, you may get regular reports how many visitors have signed up on your website, some temporary folder may be emptied automatically once a week or a backup copy of the content can be made in a different folder within your hosting account. Making use of cron jobs can help you with the management of your websites as it is possible to get a lot of things carried out automatically and have reports about them, in lieu of investing time and efforts to do them yourself.
-
Cron Jobs in Shared Hosting
Setting up a cron job requires precisely 3 easy steps when you acquire a
shared hosting plan from our company. The Hepsia Control Panel, which comes with all of the hosting accounts, features a section dedicated to the crons and when you go there, you have to type the folder path to the script which you want to be executed, the command path to the server files for the specific programming language (Perl, Python, PHP), which you can copy and paste from the Server Information section, and after that determine how frequently the cron job should run. For that time interval, our company offers two options - a very intuitive one with drop-down navigation where one can select the minutes, hours, days or months, and a more advanced one that is used with various other website hosting Control Panels in which you should type numbers and asterisks on certain positions that outline different periods of time.
-
Cron Jobs in Semi-dedicated Servers
If you want to use cron jobs for any of your sites and you have a
semi-dedicated server account with our company, it will not take you more than a couple of clicks in your Hepsia web hosting Control Panel to do this. Setting up a new cron job is very easy and you're able to add one through the Advanced section of Hepsia where you can find a box to enter two things - the path to the programming language system files that you will find inside the Server Information area (PHP, Perl, Python) along with the path to the particular script that you wish the cron job to execute. The last step is to select how often the cron will run and we've got a very user-friendly interface for that, therefore by using drop-down navigation you will be able to pick 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.