A cron job is an automatic task, which performs a particular action - typically running some script inside a web hosting account. The task is scheduled, so it will run regularly - weekly, daily, hourly and so on. There are various reasons to use a cron job for your sites. As an example, you can get daily reports how many website visitors have registered on your site, a temp folder may be emptied automatically once a week or a backup of your content may be made in a separate folder inside your website hosting account. Employing cron jobs can help you with the management of your websites as it is possible to have many things done automatically and have reports for them, instead of investing valuable time and efforts to do them yourself.

Cron Jobs in Web Hosting

The Hepsia Control Panel, which is provided with all the web hosting, will allow you to set up cron jobs in a few easy steps even when you haven't ever employed this type of feature previously. After you log in and visit the Cron Jobs area where you are able to set background tasks, you just need to paste the system access path to PHP, Pyton or Perl according to the script you'll execute, type the path in your account for the specific script file and then select how often your cron job has to be carried out. For the aforementioned, you'll be able to use the basic mode and select the days, hours, minutes, etcetera via straightforward drop-down options, or if you are more experienced, you can take advantage of the advanced mode and set the time interval with numbers and asterisks i.e. the standard method which you might have employed with various other Control Panels.

Cron Jobs in Semi-dedicated Hosting

Setting up a cron job in our system is very simple. Once you sign in to the Hepsia Control Panel, which is included with all of the semi-dedicated server accounts, you will be able to go to the Cron Jobs section where you only have to pick the directory path to the script file to be run and the command path for the specific language the script was designed in - PHP, Perl, Python, Bash. You're able to find the aforementioned within the Control Panel, thus you can copy and paste it with just a couple of clicks. Then, select the time interval for the cron through drop-down navigation for the minutes, hours, days or months and you're all set. Our cron job setup wizard makes the process really simple and intuitive, so you will not have any problems if you don't have prior experience. In case you are more tech-savvy, you may also use the standard cron format with the two paths, digits and asterisks typed on a single line.