A cron job is an automated task, which executes a specific action - typically running some script inside a website hosting account. The task is pre-set, therefore it will run on a regular basis - weekly, daily, hourly and so on. There are numerous good reasons to use a cron job for your sites. For instance, you can get regular reports how many website visitors have registered on your site, a temp folder can be emptied automatically every week or a backup of your content can be created in a standalone folder in your hosting account. Using cron jobs will help you with the management of your sites because you're able to get lots of things executed automatically and have reports about them, in lieu of investing valuable time and efforts to do them by hand.

Cron Jobs in Cloud Hosting

The Hepsia Control Panel, which is included with all of our Linux cloud hosting, allows you to set up cron jobs in a couple of basic steps even if you haven't ever employed this function previously. After you log in and go to the Cron Jobs section where you are able to assign background tasks, you just need to paste the system access path to PHP, Pyton or Perl according to the script you'll run, type the path inside of your account for the specific script file and after that choose how often your cron job has to be carried out. For the aforementioned, you can use the standard mode and select the minutes, hours, days, etc. via simple drop-down menus, or if you are more knowledgeable, you can take advantage of the advanced mode and set the time interval with numbers and asterisks i.e. the usual method that you might have employed with various Control Panels.

Cron Jobs in Semi-dedicated Servers

Installing a cron job in our system is quite easy. Once you log in to the Hepsia Control Panel, which is provided with all the semi-dedicated server accounts, you'll be able to go to the Cron Jobs section where you only need to pick the directory path to the script file to be executed and the command path for the specific language the script was written in - PHP, Perl, Python, Bash. You will be able to find the latter inside the Control Panel, and you can copy/paste it with just a few clicks. Next, select the time period for your cron through drop-down menus for the months, days, hours or minutes and you'll be 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. If you are more experienced, you can also use the common cron format with the two paths, digits and asterisks typed on a single line.