A cron job is an automated task, which executes a specific action - usually running some script inside a web hosting account. The task is planned, so that it will run on a regular basis - hourly, daily, weekly etc. There are many reasons to employ a cron job for your websites. For instance, you can get daily reports how many visitors have signed up on your website, a temp folder can be emptied automatically each and every week or a backup copy of the content can be generated in a standalone folder within your web hosting account. Employing cron jobs can help you with the administration of your sites because it is possible to have numerous things done automatically and have reports for them, as opposed to investing valuable time and efforts to do them manually.
Cron Jobs in Web Hosting
The Hepsia Control Panel, which is provided with all the Linux web hosting plans
, will help you to set up cron jobs in several easy steps even if you have never used this function before. Once you log in and visit the Cron Jobs area where you are able to create background tasks, you just need to copy and paste the server access path to Perl, PHP or Python with respect to the script you will run, type the path in your account for the actual script file and choose how often the cron job has to be executed. For the latter, you'll be able to use the basic mode and pick the minutes, hours, days, etcetera using straightforward drop-down options, or maybe in case you are more knowledgeable, you can take advantage of the advanced mode and specify the time period with numbers and asterisks i.e. the usual method which you may have employed with various Control Panels.
Cron Jobs in Semi-dedicated Servers
You will be able to set up as many cron jobs as you need if you host your sites in a semi-dedicated server
account from our company and it doesn't take more than a minute to do that. Unlike other website hosting Control Panels where you should type in commands and use numbers and asterisks on a single line in order to create a cron job, our Hepsia Control Panel has a user-friendly interface where you can choose how often a cron has to be executed by using simple drop-down menus to choose the minutes, hours, day of the week, etcetera. The two things which you'll need to submit manually are the folder path to the script file that should be run plus the command path to the programming language system files in the account (PHP. Perl, Python). You'll be able to copy/paste the latter from the Server Information part of your hosting Control Panel, so it won't take you more than several clicks to create a cron job inside your semi-dedicated account.