A cron job is a command, which runs conveniently in the background on a predefined period of time and it also runs a script in a hosting account. There won't be any restrictions regarding what the script can be - PHP, Bash, Perl, etc., what it could do, or what exactly the file extension should be. A few examples are sending a day-to-day report which contains all of the end user activity on a specified website, creating a routine backup or erasing the files within a certain folder. These tasks or any other script can be run on intervals selected by the user - each couple of minutes, hours or days, and even once per month or perhaps annually based on the particular purpose. Working with cron jobs to improve numerous aspects of managing a site saves lots of time and efforts.
Cron Jobs in Hosting
Creating a cron job requires precisely 3 simple steps when you obtain a hosting package from our company. The Hepsia Control Panel, that is featured with all of the hosting accounts, features an area dedicated to the crons and once you go there, you need to type 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), which you can copy from the Server Information section, and after that determine how frequently the cron job needs to run. For that time interval, our company offers two choices - a very intuitive one with drop-down navigation where one can select the minutes, hours, days or months, and a more complex one that's used with different hosting Control Panels in which you have to type numbers and asterisks on particular positions that outline different time periods.
Cron Jobs in Semi-dedicated Servers
In case you use a semi-dedicated server account with us to host your websites, you are able to create cron jobs for all of them with ease. This is done in three really easy steps from the Hepsia Control Panel which is used to manage the website hosting account, so you'll be able to create a new cron even if you lack previous experience. Inside the Cron Jobs section of Hepsia, you'll find a box where you need to copy/paste the path to the system files inside your account for the programming language your script was designed in - PHP, Python, Perl, Bash, and so on. You also have to provide the folder path to the script file which will be executed in the same box and use our intuitive drop-down menus to select how often our system will execute the cron. More advanced users, can also take advantage of the traditional method of creating a cron job by typing digits and asterisks in certain positions in addition to the previously mentioned paths.