A cron job is an automatic task, that executes a particular action - typically executing some script in a hosting account. The task is pre-set, which means that it will run regularly - hourly, daily, weekly etc. There are lots of reasons to use a cron job for your websites. As an example, you may get day-to-day reports how many visitors have signed up on your site, a temporary folder may be emptied automatically each week or a backup copy of your content may be created in a standalone folder inside your website hosting account. Employing cron jobs will help you with the administration of your websites as you'll be able to get a lot of things done automatically and get reports about them, rather than investing time and efforts to do them manually.

Cron Jobs in Cloud Website Hosting

The Hepsia Control Panel, that comes with all our Linux cloud website hosting plans, will allow you to set up cron jobs in a couple of basic steps even if you haven't ever used such a feature before. Once you log in and visit the Cron Jobs area where you can assign background tasks, you just need to copy and paste the system access path to PHP, Perl or Python depending on the script that you'll execute, type the path inside of your account to the specific script file and select how often your cron job will be carried out. For the aforementioned, you can use the standard mode and select the days, hours, minutes, etc. using straightforward drop-down menus, or maybe in case you are more experienced, you can use 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

Setting up a cron job in our system is very simple. Once you log in to the Hepsia Control Panel, which comes with all semi-dedicated server accounts, you're able to go to the Cron Jobs section where you only have to pick the directory path to the script file to be executed plus the command path for the specific language the script was written in - PHP, Perl, Python, Bash. You can find the latter in the Control Panel, so you can copy/paste it with just a couple of clicks. After that, choose the time period for your cron using drop-down navigation for the minutes, hours, days or months and you'll be all set. Our cron job setup wizard makes the entire process very simple and intuitive, so you will not have any problems if you do not have prior experience. In case you are more tech-savvy, you can also take advantage of the standard cron format with the two paths, digits and asterisks typed on a single line.