A cron job is a command, that works automatically in the background on a pre-set time period and it runs a script within a hosting account. There are no restrictions regarding what the script is - PHP, Bash, Perl, etc., what it can do, or what exactly the file extension will be. A few examples are mailing a day-to-day report which contains all of the client activity within a specific site, creating a routine backup or erasing the content inside a certain folder. These tasks or any other script can be executed on time intervals picked by the user - every few minutes, hours or days, and even monthly as well as once a year based on the exact goal. Making use of cron jobs to automate diverse areas of administrating a website saves lots of time and efforts.
Cron Jobs in Website Hosting
Creating a cron job requires precisely three easy steps when you acquire a website hosting
package from us. The Hepsia Control Panel, that is featured with all of the website hosting accounts, has an area dedicated to the crons and when you get there, you should enter the folder path to the script that you want to be executed, the command path to the server files for the particular programming language (Perl, Python, PHP), that you can copy from the Server Information section, and then specify how often the cron job should run. For that time interval, our company offers two options - an easy to use one with drop-down menus where you can pick the minutes, hours, days and/or months, along with a more complex one that is used with other hosting Control Panels in which you need to type numbers and asterisks on certain positions that define separate periods of time.
Cron Jobs in Semi-dedicated Servers
If you would like to use cron jobs for some of your sites and you have a semi-dedicated server
account from our company, it will not take you more than a few clicks inside your Hepsia website hosting Control Panel to do that. Setting up a brand new cron job is quite simple and you're able to add one through the Advanced section of Hepsia where you'll find a box to type in two things - the path to the programming language system files which you can find in the Server Information area (Perl, Python, PHP) and the path to the particular script that you wish the cron job to run. The final step is to determine how often the cron will be executed and we've got an extremely intuitive interface for that, which means that by using drop-down menus you're able to pick the interval in days, hours or minutes. If you are more tech-savvy or used to the particular standard, albeit more advanced way to set a cron interval through digits and asterisks, you can use this option as well.