Cron Jobs
Find out what cron jobs are, how they work and ways to utilize them to enhance your digital life.
A cron job is an automatic task, which performs a particular action - generally running a script in a hosting account. The task is scheduled, so that it will run regularly - hourly, daily, weekly etc. There are various good reasons to use a cron job for your sites. For example, you may get regular reports how many site visitors have registered on your website, a temporary folder can be emptied automatically every week or a backup copy of the content can be created in a different folder in your hosting account. Employing cron jobs can help you with the management of your sites as you can have many things executed automatically and get reports about them, in lieu of investing time and efforts to complete them manually.
-
Cron Jobs in Cloud Website Hosting
The Hepsia Control Panel, which is included with all of the
cloud website hosting plans, will allow you to create cron jobs in several basic steps even when you have never used this option previously. As soon as you log in and navigate to the Cron Jobs section where you'll be able to create background tasks, you just need to paste the system access path to Perl, Python or PHP according to the script that you'll run, type the path within your account for the specific script file and after that choose how often your cron job has to be executed. For the latter, you'll be able to use the standard mode and choose the minutes, hours, days, etcetera using uncomplicated drop-down menus, or in case you are more skilled, you'll be able to use the advanced mode and specify the time interval with numbers and asterisks i.e. the typical method that you might have employed with other Control Panels.
-
Cron Jobs in Semi-dedicated Servers
If you would like to use cron jobs for any of your websites and you have a
semi-dedicated server account with us, it will not take you more than a few clicks inside your Hepsia hosting Control Panel to do this. Setting up a brand new cron job is very easy and you are able to add one through the Advanced part of Hepsia where you'll find a box to provide two different things - the path to the programming language system files which you can find in the Server Information area (PHP, Python, Perl) and the path to the particular script that you'd like the cron job to execute. The last step is to determine how often the cron will run and we've got a really user-friendly interface for that, therefore by using drop-down navigation you're able to choose the interval in minutes, hours or days. If you are more tech-savvy or used to the standard, though more complex way to assign a cron interval through digits and asterisks, you can use this option as well.