Cron Jobs
What is a cron job? What ?job? does a cron job typically perform? How will cron jobs make your web experience easier?
A cron job is a command, that runs conveniently in the background over a pre-set time period and it executes a script within a hosting account. There aren't any limitations in regard to what the script can be - PHP, Bash, Perl, etc., what it can do, or what exactly the file extension will be. Some examples are mailing an everyday report with all the user activity within a specific website, generating a routine backup or deleting the files inside a certain folder. These kinds of tasks or almost every other script can be executed on intervals picked by the end user - every couple of minutes, hours or days, and even every month or once a year depending on the exact intent. Working with cron jobs to automate various areas of managing a site saves lots of time and efforts.
-
Cron Jobs in Web Hosting
If you get any of our
web hosting packages, you can set up cron jobs with a couple of mouse clicks in your Hepsia Control Panel even if you have not done that before. Hepsia is really simple to use, so instead of entering numbers and asterisks on certain positions, which is the common technique to make a cron job, you'll be able to select the days, hours or minutes a given script has to be executed using simple drop-down menus. The latter is done in your Cron Jobs part of the Control Panel and, of course, you can always use the first method too, if you are knowledgeable enough and you prefer it. In both cases, you will also need to enter the path to the script that'll be executed along with the path to the PHP, Python or Perl system files inside your account. The latter is available in the Control Panel and you're able to copy/paste it, but if you experience any kind of difficulties, you can always contact your technical support team.
-
Cron Jobs in Semi-dedicated Servers
If you want to use cron jobs for any 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. Creating a new cron job is really simple and you'll be able to add one from the Advanced part of Hepsia where you can find a box to enter 2 things - the path to the programming language system files that you will find in the Server Information section (Perl, Python, PHP) and the path to the script that you wish the cron job to execute. The last step is to select how often the cron will run and we have a very time and effort saving interface for that, which means that by using drop-down menus you can easily choose the interval in minutes, hours or days. If you are more tech-savvy or used to this standard, albeit more complex way to set a cron interval through digits and asterisks, you can use this solution as well.