A cron job is a command, which works conveniently in the background on a pre-set period of time and it also runs a script within a hosting account. There are no limitations regarding what the script is - PHP, Bash, Perl, etc., what it could do, or what exactly your file extension will be. A few examples are mailing a regular report with the client activity on a specified website, generating a regular backup or erasing the files in a specific folder. These kinds of tasks as well as any other script can be run on time periods specified by the user - each few minutes, hours or days, and even once per month or perhaps annually based on the exact intent. Making use of cron jobs to improve various areas of managing a website saves considerable time and efforts.

Cron Jobs in Hosting

The Hepsia Control Panel, that is included with all of our Linux hosting, allows you to set up cron jobs in several basic steps even when you haven't ever employed this type of feature previously. After you log in and navigate to the Cron Jobs section where you can set background tasks, you just have to paste the server access path to PHP, Perl or Python according to the script that you will execute, type the path inside of your account for the specific script file and after that select how often your cron job has to be carried out. For the aforementioned, you'll be able to use the standard mode and pick the minutes, hours, days, etc. using uncomplicated drop-down options, or if you are more experienced, you can take advantage of the advanced mode and set the time period with numbers and asterisks i.e. the standard method that you might have used with different Control Panels.

Cron Jobs in Semi-dedicated Hosting

In case you use a semi-dedicated server account with our company to host your sites, you're able to set up cron jobs for all of them without difficulty. This can be done in three really easy steps from the Hepsia Control Panel that is used to manage the web hosting account, so you can create a new cron even when you don't have any prior experience. Inside the Cron Jobs part of Hepsia, you will discover a box where you need to 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 enter the folder path to the script file that'll be executed in the same box and use our intuitive drop-down menus to choose how often our system will run the cron. More advanced users, can also use the traditional method of setting up a cron job by typing digits and asterisks in certain positions as well as the aforementioned paths.