A cron job is a command, which functions automatically in the background over a predefined period and it also executes a script in a web hosting account. There won't be any restrictions in regard to what the script is - PHP, Bash, Perl, etcetera, what it could do, or what exactly the file extension will be. Examples are sending a regular report with the end user activity on a given site, creating a regular backup or erasing the content inside a particular folder. These kinds of tasks or some other script can be run on time periods selected by the end user - each few minutes, hours or days, and even once a month or maybe annually according to the exact objective. Using cron jobs to automate diverse elements of administrating a website saves considerable time and efforts.
Cron Jobs in Cloud Hosting
Setting up a cron job will take you just 3 very simple steps when you acquire a cloud hosting
package through us. The Hepsia Control Panel, which comes with all of the website hosting accounts, has an area focused on the crons and when you get there, you have to enter the folder path to the script which you want to be executed, the command path to the server files for the selected programming language (Perl, Python, PHP), that you can copy and paste from the Server Information section, and after that set how often the cron job should run. For that time interval, we provide two choices - a very intuitive one with drop-down navigation where one can select the minutes, hours, days or months, and a more advanced one that is used with other website hosting Control Panels in which you have to type numbers and asterisks on certain positions that outline separate periods of time.
Cron Jobs in Semi-dedicated Servers
In case you use a semi-dedicated server
account from our company to host your websites, you can set up cron jobs for any of them without any difficulty. This is done in 3 really easy steps from the Hepsia Control Panel which is used to control the website hosting account, so you are able to create a new cron even if you do not have any previous experience. Within the Cron Jobs section of Hepsia, you'll discover a box where you need to copy/paste the path to the system files in your account for the programming language your script was written in - Python, PHP, Perl, Bash, etc. You also have to provide the folder path to the script file that'll 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 employ the traditional method of setting up a cron job by typing digits and asterisks in certain positions as well as the aforementioned paths.