A cron job is an automatic task, which performs a particular action - generally running a script in a website hosting account. The task is scheduled, which means that it will run regularly - weekly, daily, hourly and so on. There are various reasons to make use of a cron job for your sites. For instance, you may get daily reports how many website visitors have registered on your website, a temp folder may be emptied automatically once a week or a backup copy of the content may be created in a separate folder in your web hosting account. Making use of cron jobs will help you with the management of your sites as you're able to have many things executed automatically and have reports for them, as an alternative to spending precious time and efforts to do them yourself.
Cron Jobs in Cloud Web Hosting
The Hepsia Control Panel, that comes with all of the cloud web hosting
, will allow you to create cron jobs in a couple of basic steps even when you have never employed this type of option previously. As soon as you log in and go to the Cron Jobs section where you'll be able to assign background tasks, you just need to paste the system access path to PHP, Perl or Python depending on the script you'll run, type the path within your account to the specific script file and choose how often the cron job will be executed. For the aforementioned, you can use the basic mode and select the minutes, hours, days, etcetera using simple drop-down navigation, or in case you are more skilled, you can take advantage of the advanced mode and specify the time interval with numbers and asterisks i.e. the standard method that you might have employed with different Control Panels.
Cron Jobs in Semi-dedicated Servers
You can assign as many cron jobs as you'd like when you host your sites in a semi-dedicated server
account from us and it does not take more than a minute to do that. Unlike many other hosting Control Panels where you should type commands and use numbers and asterisks on a single line in order to create a cron job, our Hepsia Control Panel features a time and effort saving interface where you're able to select how often a cron has to be executed by using simple drop-down menus to pick the hours, minutes, day of the week, etc. The two things which you'll need to enter manually are the folder path to the script file that should be executed plus the command path to the programming language system files in the account (Perl, Python, PHP). You'll be able to copy and paste the latter from the Server Information area of your hosting Control Panel, so it will not take you more than a few clicks to set up a cron job within your semi-dedicated account.