A cron job is a command, which runs conveniently in the background over a pre-set period of time and it also runs a script within a website hosting account. There aren't any limitations regarding what the script is - PHP, Bash, Perl, etcetera, what it could do, or what exactly your file extension should be. Examples are sending an everyday report with all the client activity within a specific website, creating a regular backup or erasing the files in a particular folder. These types of tasks and / or almost every other script can be run on time periods chosen by the user - every couple of minutes, hours or days, and even every month or perhaps once a year depending on the specific purpose. Making use of cron jobs to automate different aspects of managing a website saves lots of time and efforts.
Cron Jobs in Shared Hosting
Creating a cron job requires simply 3 easy steps when you obtain a shared hosting plan with our company. The Hepsia Control Panel, that is featured with all of the website hosting accounts, features a section focused on the crons and when you go there, you should enter the folder path to the script that you want to be executed, the command path to the system files for the specific programming language (Perl, Python, PHP), which you can copy and paste from the Server Information section, and determine how frequently the cron job has to run. For that time interval, we offer two choices - an easy to use one with drop-down menus where one can pick the minutes, hours, days or months, along with a more complex one that is used with many other web hosting Control Panels in which you are required to type numbers and asterisks on certain positions that outline different periods of time.
Cron Jobs in Semi-dedicated Servers
If you want to use cron jobs for some of your websites and you have a semi-dedicated server account with us, it won't take you more than a few clicks in your Hepsia hosting Control Panel to do that. Setting up a brand new cron job is easy and you can easily add one through the Advanced part of Hepsia where you can find a box to provide two different things - the path to the programming language system files which you will find in the Server Information section (PHP, Python, Perl) along with the path to the particular script that you need the cron job to run. The very last step is to determine how often the cron will run and we have a rather time and effort saving interface for that, which means that by using drop-down menus you are able to pick the interval in minutes, hours or days. In case you are more tech-savvy or used to the standard, albeit more complex way to assign a cron interval using digits and asterisks, you can use this solution as well.