A cron job is a command, that works automatically in the background over a predefined time period and it also executes a script in a website hosting account. There are no limitations in regard to what the script can be - PHP, Bash, Perl, etcetera, what it could do, or what exactly your file extension should be. Some examples are mailing a day-to-day report which contains all the end user activity within a specific website, generating a regular backup or erasing the content inside a specific folder. These types of tasks or any other script can be run on time intervals specified by the user - every couple of minutes, hours or days, and even once per month or once per year according to the particular purpose. Making use of cron jobs to improve numerous aspects of managing a site saves a lot of time and efforts.
Cron Jobs in Website Hosting
Setting up a cron job will take you precisely 3 very simple steps if you get a website hosting
package with us. The Hepsia Control Panel, that is featured with all the web hosting accounts, has an area centered on the crons and when you get there, you should enter the folder path to the script that you'd like to be executed, the command path to the system files for the particular programming language (Perl, Python, PHP), that you can copy and paste from the Server Information section, and then determine how frequently the cron job should run. For that time interval, we provide two options - a very intuitive one with drop-down menus where one can choose the minutes, hours, days and/or months, along with a more complex one that is used with different hosting Control Panels in which you should type numbers and asterisks on specific positions that outline different periods of time.
Cron Jobs in Semi-dedicated Servers
If you use a semi-dedicated server
account with us to host your sites, you are able to install cron jobs for all of them effortlessly. This can be done in three really easy steps from the Hepsia Control Panel which is used to take care of the web hosting account, so you're able to set up a new cron even when you lack prior experience. In the Cron Jobs section of Hepsia, you'll find a box where you need to copy and paste the path to the system files in your account for the programming language your script was designed in - PHP, Perl, Bash, Python, etc. You also need to provide the folder path to the script file that will be executed in the same box and then use our intuitive drop-down menus to select how often our system will run the cron. Experienced users, can also take advantage of the traditional method of creating a cron job by typing digits and asterisks in specific positions along with the aforementioned paths.