A cron job is a command, that works conveniently in the background over a predefined period and it executes a script within a website hosting account. There aren't any restrictions in regard to what the script can be - PHP, Bash, Perl, etcetera, what it could do, or what exactly your file extension will be. Some examples are mailing a daily report with the user activity within a given website, creating a regular backup or erasing the files in a specific folder. These types of tasks and / or almost every other script can be executed on time periods chosen by the end user - each few minutes, hours or days, and even every month as well as once per year depending on the specific purpose. Using cron jobs to improve numerous areas of administrating a site saves a lot of time and efforts.
Cron Jobs in Website Hosting
The Hepsia Control Panel, that is featured with all of our Linux website hosting packages, will allow you to create cron jobs in a couple of easy steps even when you have not employed such a function previously. As soon as you log in and proceed to the Cron Jobs section where you'll be able to set background tasks, you just have to copy and paste the server access path to PHP, Perl or Python with respect to the script you will execute, type the path within your account for the actual script file and choose how often your cron job has to be carried out. For the latter, you can use the basic mode and pick the minutes, hours, days, etcetera through uncomplicated drop-down navigation, or maybe if you are more knowledgeable, you can take full advantage of the advanced mode and specify the time interval with numbers and asterisks i.e. the typical method which you might have used with various other Control Panels.