A cron job is an automatic task, which performs a particular action - typically running a script inside a website hosting account. The task is scheduled, therefore it will run regularly - hourly, daily, weekly and so on. There are various reasons to make use of a cron job for your websites. As an example, you may get daily reports how many visitors have signed up on your website, a temp folder may be emptied automatically every week or a backup copy of your content may be generated in a standalone folder within your hosting account. Making use of cron jobs will help you with the administration of your sites since you are able to have lots of things completed automatically and get reports about them, as opposed to spending precious time and efforts to complete them manually.

Cron Jobs in Shared Hosting

The Hepsia Control Panel, which comes with all the Linux shared hosting, will allow you to create cron jobs in a couple of easy steps even when you haven't ever used this option before. After you sign in and visit the Cron Jobs section where you'll be able to set background tasks, you just have to copy and paste the system access path to PHP, Pyton or Perl depending on the script that you will execute, type the path inside of your account for the actual script file and then select how often the cron job has to be executed. 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 maybe if you are more knowledgeable, you'll be able to use the advanced mode and specify the time interval with numbers and asterisks i.e. the usual method that you may have employed with various Control Panels.

Cron Jobs in Semi-dedicated Servers

Setting up a cron job in our system is very easy. Once you sign 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 just have to select the directory path to the script file to be executed along with the command path for the specific language the script was designed in - PHP, Perl, Python, Bash. You will be able to find the aforementioned in the Control Panel, and you can copy and paste it with just a few clicks. Next, choose the time interval for the cron through drop-down menus for the months, days, hours or minutes and you will be all set. Our cron job setup wizard makes the entire process very simple and intuitive, so you won't have any problems if you do not have previous experience. When you are more tech-savvy, you can also use the standard cron format with the two paths, digits and asterisks typed on one line.