A cron job is a command, that works conveniently in the background over a predefined period of time and it executes a script inside a hosting account. There won't be any limitations regarding what the script is - PHP, Bash, Perl, etcetera, what it could do, or what exactly the file extension will be. Some examples are sending a day-to-day report with all of the end user activity within a specified site, creating a routine backup or erasing the files within a certain folder. These types of tasks and / or some other script can be run on time intervals chosen by the end user - each couple of minutes, hours or days, and even once a month or maybe once a year depending on the specific intent. Using cron jobs to speed up different areas of administrating a website saves a lot of time and efforts.
Cron Jobs in Cloud Web Hosting
The Hepsia Control Panel, that is provided with all the cloud web hosting
, will allow you to set up cron jobs in a couple of easy steps even when you haven't ever employed such a option before. When you log in and go to the Cron Jobs area where you can set background tasks, you just need to paste the server access path to PHP, Pyton or Perl based on the script you will run, type the path inside of your account for the actual script file and then select how often the cron job will be carried out. For the aforementioned, you can use the basic mode and choose the days, hours, minutes, etcetera using straightforward drop-down menus, or in case you are more experienced, you can use the advanced mode and set the time interval with numbers and asterisks i.e. the usual method which you might have employed with different Control Panels.
Cron Jobs in Semi-dedicated Servers
If you'd like to use cron jobs for some of your sites and you have a semi-dedicated server
account with our company, it won't take you more than a few clicks inside your Hepsia hosting Control Panel to do that. Installing a brand new cron job is quite simple and you'll be able to add one through the Advanced part of Hepsia where you can find a box to enter 2 things - the path to the programming language system files which you will find inside the Server Information area (PHP, Python, Perl) along with the path to the particular script that you need the cron job to execute. The last step is to determine how often the cron will run and we have a really intuitive interface for that, therefore by using drop-down navigation you're able to choose the interval in days, hours or minutes. If you are more tech-savvy or used to this standard, albeit more advanced way to set a cron interval through digits and asterisks, you can use this alternative as well.