A cron job is an automated task, that performs a particular action - usually running a script in a web hosting account. The task is scheduled, which means that it will run on a regular basis - hourly, daily, weekly and so on. There are many reasons to employ a cron job for your sites. For example, you may get day-to-day reports how many website visitors have signed up on your site, some temp folder can be emptied automatically each and every week or a backup of your content can be generated in a separate folder within your web hosting account. Employing cron jobs can help you with the administration of your websites since you'll be able to have a lot of things done automatically and have reports for them, rather than investing time and efforts to complete them by hand.

Cron Jobs in Shared Hosting

The Hepsia Control Panel, that is provided with all our shared hosting, will allow you to create cron jobs in several simple steps even when you have never employed such a option previously. As soon as you log in and proceed to the Cron Jobs section where you'll be able to set background tasks, you just have to paste the system access path to PHP, Perl or Python depending on the script that you'll execute, type the path within your account for the actual script file and after that select how often the cron job has to be carried out. For the latter, you'll be able to use the standard mode and select the minutes, hours, days, etc. through straightforward drop-down menus, or maybe if you are more skilled, you can take full advantage of the advanced mode and specify 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

In case you use a semi-dedicated server account with us to host your websites, you are able to set up cron jobs for all of them effortlessly. This is done in 3 very easy steps inside the Hepsia Control Panel that's used to control the hosting account, so you are able to create a new cron even when you do not have any prior experience. In the Cron Jobs section of Hepsia, you will find a box where you should copy/paste the path to the system files in your account for the programming language your script was designed in - PHP, Python, Perl, Bash, etcetera. You also need to enter the folder path to the script file that will be executed in the same box and then use our intuitive drop-down menus to select how often our system will run the cron. More experienced users, can also take advantage of the traditional method of creating a cron job by typing digits and asterisks in specific positions in addition to the aforementioned paths.