A cron job is an automated task, which executes a particular action - typically running some script inside a web hosting account. The task is pre-set, which means that it will run on a regular basis - hourly, daily, weekly etc. There are many reasons to employ a cron job for your sites. As an example, you may get daily reports how many website visitors have signed up on your site, a temp folder can be emptied automatically once a week or a backup of the content can be created in a separate folder in your hosting account. Employing cron jobs can help you with the administration of your sites as you'll be able to get a lot of things completed automatically and get reports for them, as opposed to investing valuable time and efforts to do them by hand.
Cron Jobs in Shared Hosting
The Hepsia Control Panel, which comes with all our shared hosting plans
, will help you to create cron jobs in several easy steps even when you haven't ever employed such a function before. After you sign in and visit the Cron Jobs section where you're able to set background tasks, you just have to copy and paste the server access path to Perl, Python or PHP depending on the script you'll run, type the path inside of your account to the actual script file and after that choose how often the cron job will be executed. For the latter, you can use the basic mode and select the minutes, hours, days, etc. through straightforward drop-down menus, or in case you are more skilled, you can take advantage of the advanced mode and set the time period with numbers and asterisks i.e. the standard method that you may have employed with various Control Panels.