Cron Jobs
Be more familiar with Cron Jobs - what exactly are they, what role do they have and how to create them.
A cron job is an automatic task, which executes a certain action - usually executing some script inside a web hosting account. The task is pre-set, therefore it will run regularly - hourly, daily, weekly and so on. There are many good reasons to use a cron job for your websites. As an example, you may get day-to-day reports how many site visitors have registered on your site, some temporary folder may be emptied automatically weekly or a backup of your content may be made in a different folder within your web hosting account. Using cron jobs will help you with the management of your websites since you'll be able to have a lot of things executed automatically and get reports for them, in lieu of spending precious time and efforts to do them by hand.
-
Cron Jobs in Shared Hosting
Creating a cron job requires simply 3 easy steps when you get a
shared hosting package with our company. The Hepsia Control Panel, which comes with all the hosting accounts, has a section dedicated to the crons and as soon as you get there, you have to enter the folder path to the script that you want to be executed, the command path to the server files for the specific programming language (Perl, Python, PHP), that you can copy from the Server Information section, and determine how often the cron job has to run. For the time interval, we provide two choices - a user-friendly one with drop-down menus where one can select the minutes, hours, days and/or months, as well as a more complex one that's used with different hosting Control Panels in which you need to type numbers and asterisks on certain positions that define different periods of time.
-
Cron Jobs in Semi-dedicated Servers
If you want to use cron jobs for some of your websites and you have a
semi-dedicated server account from us, it won't take you more than a couple of clicks inside your Hepsia web hosting Control Panel to do that. Setting up a new cron job is really simple and you can easily 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 that you'll find inside the Server Information section (PHP, Python, Perl) along with the path to the script that you wish the cron job to execute. The final step is to decide how often the cron will be executed and we have a very user-friendly interface for that, which means that by using drop-down menus you are able to choose the interval in minutes, hours or days. In case you are more tech-savvy or used to this standard, albeit more advanced way to set a cron interval using digits and asterisks, you can use this solution as well.