A cron job is an automated task, that executes a specific action - usually running a script inside a web hosting account. The task is scheduled, therefore it will run on a regular basis - weekly, daily, hourly and so on. There are numerous good reasons to make use of a cron job for your sites. For instance, you may get regular reports how many website visitors have signed up on your website, some temp folder may be emptied automatically every week or a backup of the content can be generated in a different folder in your website hosting account. Employing cron jobs will help you with the administration of your websites since you are able to get many things completed automatically and have reports about them, instead of spending time and efforts to complete them yourself.
Cron Jobs in Shared Hosting
The Hepsia Control Panel, which comes with all the shared hosting, will allow you to set up cron jobs in a few easy steps even when you haven't ever employed this type of function before. Once you log in and navigate to the Cron Jobs section where you'll be able to assign background tasks, you just have to copy and paste the server access path to PHP, Perl or Python depending on the script that you will run, type the path inside of your account for the specific script file and after that select how often the cron job will be executed. For the aforementioned, you'll be able to use the basic mode and choose the minutes, hours, days, etcetera via straightforward drop-down options, or in case you are more skilled, you can take full advantage of the advanced mode and specify the time period with numbers and asterisks i.e. the typical method that you may have used with various Control Panels.
Cron Jobs in Semi-dedicated Servers
You're able to set up as many cron jobs as you'd like if you host your websites with a semi-dedicated server account from us and it does not take over one minute to do that. Unlike various website hosting Control Panels where you should type in commands and use numbers and asterisks on a single line to be able to create a cron job, the Hepsia Control Panel contains a time and effort saving interface where you're able to select how often a cron should be executed by using simple drop-down menus to pick the minutes, hours, weekdays, etc. The two things that you will need to enter manually are the folder path to the script file which should be run and the command path to the programming language system files in the account (Perl, Python, PHP). You will be able to copy and paste the latter from the Server Information area of your hosting Control Panel, which means that it will not take you more than several clicks to set up a cron job within your semi-dedicated account.