A cron job is an automatic task, which performs a particular action - typically running some script in a web hosting account. The task is pre-set, so it will run on a regular basis - hourly, daily, weekly and so on. There are numerous good reasons to use a cron job for your websites. For instance, you can get day-to-day reports how many website visitors have signed up on your website, some temp folder can be emptied automatically every week or a backup of your content may be generated in a different folder within your web hosting account. Making use of cron jobs will help you with the management of your sites because you're able to have lots of things executed automatically and get reports about them, instead of investing valuable time and efforts to complete them by hand.

Cron Jobs in Website Hosting

The Hepsia Control Panel, that comes with all of the website hosting plans, will allow you to set up cron jobs in a few basic steps even when you have never employed such a function previously. After you sign in and navigate to the Cron Jobs area where you are able to set background tasks, you just have to copy and paste the system access path to PHP, Pyton or Perl with respect to the script you'll run, type the path in your account for the specific script file and select how often your cron job will be carried out. For the aforementioned, you'll be able to use the standard mode and pick the days, hours, minutes, etc. using uncomplicated drop-down menus, or maybe in case you are more knowledgeable, you can use the advanced mode and specify the time period with numbers and asterisks i.e. the standard method which you may have used with various Control Panels.

Cron Jobs in Semi-dedicated Servers

If you would like to use cron jobs for any of your sites and you have a semi-dedicated server account from our company, it won't take you more than a couple of clicks inside your Hepsia website hosting Control Panel to do this. Installing a brand new cron job is very simple and you'll be able to add one through the Advanced section of Hepsia where you can find a box to provide two different things - the path to the programming language system files that you'll find in the Server Information area (Perl, Python, PHP) along with the path to the script that you wish the cron job to run. The very last step is to decide how often the cron will run and we have a very intuitive interface for that, so 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 the standard, albeit more complex way to assign a cron interval through digits and asterisks, you can use this solution as well.