A cron job is a command, that functions automatically in the background over a predefined time period and it runs a script inside a hosting account. There won't be any limits in regard to what the script can be - PHP, Bash, Perl, etc., what it could do, or what exactly your file extension should be. A few examples are sending an everyday report with all of the end user activity on a specified site, creating a regular backup or erasing the content within a particular folder. These types of tasks or any other script can be executed on time intervals chosen by the end user - every couple of minutes, hours or days, and even once a month or maybe once a year depending on the exact purpose. Making use of cron jobs to improve various elements of administrating a website saves lots of time and efforts.
Cron Jobs in Cloud Web Hosting
When you get any of our cloud web hosting packages, you are able to set up cron jobs with a couple clicks through your Hepsia Control Panel even if you have not done that before. Hepsia is really intuitive, so rather than entering numbers and asterisks on specific positions, which is the common technique to assign a cron job, you will be able to select the minutes, hours or days a given script should be executed using uncomplicated drop-down menus. The latter is done from the Cron Jobs section of the Control Panel and, of course, you can always use the first method too, if you are experienced enough and you prefer it. In both cases, you will also need to enter the path to the script which will be executed along with the path to the PHP, Python or Perl system files within your account. The aforementioned can be found in the Control Panel and you're able to copy/paste it, yet if you experience any kind of difficulties, you can always contact your support team.
Cron Jobs in Semi-dedicated Servers
If you'd like to use cron jobs for some of your websites and you have a semi-dedicated server account with us, it will not take you more than a couple of clicks in your Hepsia web hosting Control Panel to do that. Setting up a new cron job is very simple and you're able to add one from the Advanced part of Hepsia where you can find a box to type in two different things - the path to the programming language system files that you can find in the Server Information area (PHP, Python, Perl) along with the path to the particular script that you wish the cron job to run. The final step is to select how often the cron will run and we've got a really user-friendly interface for that, therefore by using drop-down menus you're able to choose the interval in minutes, hours or days. If you are more tech-savvy or used to the standard, albeit more sophisticated way to set a cron interval employing digits and asterisks, you can use this alternative as well.