A cron job is a command, that runs automatically in the background on a predefined time period and it executes a script inside a website hosting account. There aren't any restrictions regarding what the script is - PHP, Bash, Perl, etc., what it could do, or what exactly the file extension should be. A few examples are supplying a regular report with all of the client activity on a specific site, creating a regular backup or erasing the content within a specific folder. These types of tasks as well as almost every other script can be run on time intervals specified by the end user - each few minutes, hours or days, and even every month as well as once per year according to the particular intent. Using cron jobs to automate different elements of administrating a site saves a lot of time and efforts.

Cron Jobs in Hosting

The Hepsia Control Panel, which is provided with all of the hosting plans, allows you to set up cron jobs in a few easy steps even if you have not employed this function before. Once you log in and proceed to the Cron Jobs section where you're able to set background tasks, you just have to copy and paste the server access path to PHP, Pyton or Perl depending on the script you will execute, type the path inside of your account to the actual script file and after that select how often the cron job has to be executed. For the latter, you'll be able to use the basic mode and choose the minutes, hours, days, etcetera via uncomplicated drop-down navigation, or if you are more knowledgeable, you can use the advanced mode and set the time period with numbers and asterisks i.e. the standard method which you may have used with various other Control Panels.