A cron job is an automatic task, that performs a specific action - generally executing some script in the website hosting account. The task is pre-set, which means that it will run regularly - hourly, daily, weekly etc. There are numerous reasons to use a cron job for your websites. As an example, you can get regular reports how many website visitors have registered on your site, a temporary folder may be emptied automatically each and every week or a backup copy of the content can be made in a standalone folder in your website hosting account. Using cron jobs will help you with the administration of your sites because you'll be able to get several things carried out automatically and get reports about them, in lieu of investing time and efforts to do them yourself.

Cron Jobs in Shared Website Hosting

The Hepsia Control Panel, which is provided with all the shared website hosting plans, allows you to create cron jobs in a few easy steps even when you haven't ever used this type of function before. Once you log in and go to the Cron Jobs area where you are able to set background tasks, you just need to paste the server access path to Perl, PHP or Python based 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 carried out. For the latter, you can use the basic mode and select the minutes, hours, days, etcetera using straightforward drop-down menus, or if you are more skilled, you can use the advanced mode and set the time interval with numbers and asterisks i.e. the standard method which you may have employed with other 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 is included with all the semi-dedicated server accounts, you are able to go to the Cron Jobs section where you only need to select the directory path to the script file to be run and the command path for the particular language the script was designed in - PHP, Perl, Python, Bash. You'll be able to find the aforementioned within the Control Panel, thus you can copy and paste it with a couple of clicks. After that, choose the time interval for your cron via drop-down menus for the minutes, hours, days or months and you are all set. Our cron job setup wizard makes the entire process very easy and intuitive, so you will not have any problems if you don't have previous experience. In case you are more experienced, you can also use the conventional cron format with the two paths, digits and asterisks typed on one line.