A cron job is a command, which runs conveniently in the background on a predefined period of time and it runs a script inside a web hosting account. There aren't any limits regarding what the script is - PHP, Bash, Perl, etc., what it could do, or what exactly your file extension should be. A few examples are mailing a day-to-day report with all the client activity on a given website, creating a routine backup or erasing the files within a specific folder. These types of tasks and / or almost every other script can be run on time intervals picked by the user - each couple of minutes, hours or days, and even once a month or annually depending on the exact objective. Using cron jobs to automate numerous elements of managing a site saves considerable time and efforts.
Cron Jobs in Cloud Hosting
When you get any of our cloud hosting plans, you are able to set up cron jobs with a couple of mouse clicks via your Hepsia Control Panel even if you have not done that previously. Hepsia is really easy to use, so rather than typing numbers and asterisks on certain positions, which is the typical technique to create a cron job, you'll be able to pick the days, hours or minutes a script should be executed using very simple drop-down menus. This is done from the Cron Jobs section of the Control Panel and, naturally, you can use the first method as well, in case you're experienced enough and you prefer it. In both cases, you will also need to enter the path to the script that'll be executed along with the path to the PHP, Python or Perl system files in your account. The last mentioned is available in the Control Panel and you are able to copy/paste it, still if you experience any issues, you can always get in touch with your support team.