A cron job is a command, that functions automatically in the background over a predefined time period and it executes a script within a hosting account. There are no limitations regarding what the script is - PHP, Bash, Perl, etc., what it can do, or what exactly the file extension should be. Examples are sending a regular report with the end user activity on a specific site, creating a routine backup or erasing the content within a specific folder. These kinds of tasks and / or some other script can be run on intervals picked by the user - each few minutes, hours or days, and even once a month or maybe once a year depending on the specific intent. Making use of cron jobs to improve numerous elements of administrating a site saves considerable time and efforts.

Cron Jobs in Hosting

Setting up a cron job will take you just three simple steps when you acquire a hosting plan from us. The Hepsia Control Panel, which comes with all of the web hosting accounts, has a section dedicated to the crons and once you get there, you should type the folder path to the script which you want to be executed, the command path to the system files for the particular programming language (Perl, Python, PHP), that you can copy from the Server Information section, and specify how often the cron job needs to run. For the time interval, we provide two choices - an easy to use one with drop-down navigation where one can select the minutes, hours, days or months, and a more advanced one that's used with other hosting Control Panels in which you need to type numbers and asterisks on particular positions that outline separate periods of time.

Cron Jobs in Semi-dedicated Servers

If you use a semi-dedicated server account from our company to host your sites, you'll be able to create cron jobs for all of them with ease. This is done in three very simple steps from the Hepsia Control Panel that is used to take care of the website hosting account, so you'll be able to create a new cron even when you lack prior experience. In the Cron Jobs area of Hepsia, you will discover a box where you should copy and paste the path to the system files inside your account for the programming language your script was written in - Perl, Bash, Python, PHP, and so on. You also have to submit the folder path to the script file that will be executed in the same box then use our user-friendly drop-down menus to choose how often our system will execute the cron. More experienced users, can also use the traditional method of creating a cron job by typing digits and asterisks in specific positions as well as the previously mentioned paths.