A cron job is a command, which functions conveniently in the background on a pre-set period of time and it also executes a script within a hosting account. There are no limits in regard to what the script can be - PHP, Bash, Perl, etcetera, what it can do, or what exactly the file extension will be. Examples are mailing a daily report with all of the client activity on a specified website, creating a regular backup or deleting the files within a specific folder. These tasks or almost every other script can be run on time periods selected by the user - each couple of minutes, hours or days, and even once per month or maybe annually based on the specific purpose. Making use of cron jobs to automate different aspects of administrating a website saves lots of time and efforts.
Cron Jobs in Shared Hosting
Creating a cron job will take you precisely three quick steps when you acquire a shared hosting plan with our company. The Hepsia Control Panel, that comes with all the web hosting accounts, has an area focused on the crons and as soon as you go there, you need to enter the folder path to the script that you want to be executed, the command path to the server files for the specific programming language (Perl, Python, PHP), that you can copy from the Server Information section, and after that specify how frequently the cron job should run. For the time interval, we provide two choices - a user-friendly one with drop-down navigation where one can choose the minutes, hours, days or months, along with a more complex one that's used with different web hosting Control Panels where you need to type numbers and asterisks on specific positions that define different periods of time.
Cron Jobs in Semi-dedicated Hosting
Installing a cron job in our system is a breeze. Once you log in to the Hepsia Control Panel, which is included with all of the semi-dedicated server accounts, you'll be able to go to the Cron Jobs section where you just have to choose the directory path to the script file to be run along with the command path for the specific language the script was designed in - PHP, Perl, Python, Bash. You're able to find the aforementioned in the Control Panel, so you can copy/paste it with a few clicks. After that, choose the time interval for the cron through drop-down menus for the months, days, hours or minutes and you will be all set. Our cron job setup wizard makes the entire process very easy and intuitive, so you won't have any problems if you do not have prior experience. In case you are more experienced, you can also use the standard cron format with the two paths, digits and asterisks typed on one line.