A cron job is a command, which runs conveniently in the background on a pre-set period of time and it also runs a script inside a hosting account. There aren't any limitations regarding what the script can be - PHP, Bash, Perl, etcetera, what it could do, or what exactly the file extension will be. A few examples are mailing a daily report with the end user activity within a specific website, generating a regular backup or erasing the files within a specific folder. These kinds of tasks and / or some other script can be run on time intervals chosen by the user - each couple of minutes, hours or days, and even once per month or annually depending on the exact objective. Making use of cron jobs to speed up various aspects of administrating a website saves a lot of time and efforts.
Cron Jobs in Shared Hosting
The Hepsia Control Panel, that comes with all of the Linux shared hosting
, will help you to create cron jobs in several basic steps even when you have not used this type of function previously. Once you log in and navigate to the Cron Jobs area where you can assign background tasks, you just have to copy and paste the server access path to Perl, Python or PHP according to the script that you will run, type the path inside of your account for the specific script file and choose how often your cron job will be carried out. For the aforementioned, you can use the basic mode and choose the days, hours, minutes, etcetera using simple drop-down options, or if you are more skilled, you'll be able to use the advanced mode and specify the time interval with numbers and asterisks i.e. the typical method that you might have used with various Control Panels.