A cron job is a command, that works automatically in the background on a predefined period of time and it executes a script within a web 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 your file extension should be. Some examples are mailing a regular report with all of the user activity within a specific site, generating a routine backup or erasing the content within a specific folder. These types of tasks as well as some other script can be run on time intervals chosen by the end user - each few minutes, hours or days, and even every month as well as once per year depending on the specific goal. Making use of cron jobs to automate various elements of administrating a site saves considerable time and efforts.
Cron Jobs in Shared Web Hosting
Creating a cron job will take you precisely three simple steps if you get a shared web hosting plan with us. The Hepsia Control Panel, which comes with all the website hosting accounts, features an area dedicated to the crons and as soon as you go there, you need to enter the folder path to the script that you would like 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 then determine how often the cron job has to run. For that time interval, we offer two choices - a very intuitive one with drop-down navigation where you can choose the minutes, hours, days and/or months, as well as a more complex one that is used with other hosting Control Panels in which you are required to type numbers and asterisks on particular positions that define different time periods.
Cron Jobs in Semi-dedicated Servers
In case you use a semi-dedicated server account from our company to host your websites, you'll be able to install cron jobs for all of them with ease. This can be done in 3 very simple steps inside the Hepsia Control Panel that is used to take care of the web hosting account, so you are able to create a new cron even when you don't have any prior experience. Within the Cron Jobs part of Hepsia, you'll find a box where you should copy and paste the path to the system files in your account for the programming language your script was designed in - Perl, Bash, Python, PHP, etc. You also need to enter the folder path to the script file that will be executed in the same box and then use our user-friendly drop-down menus to choose how often our system will execute the cron. Advanced users, can also use the traditional method of creating a cron job by typing digits and asterisks in certain positions along with the aforementioned paths.