A cron job is an automated task, that performs a particular action - usually executing a script in a hosting account. The task is scheduled, which means that it will run on a regular basis - hourly, daily, weekly etc. There are many reasons to use a cron job for your sites. For instance, you can get day-to-day reports how many visitors have signed up on your site, a temp folder may be emptied automatically each and every week or a backup of the content may be generated in a standalone folder inside your web hosting account. Employing cron jobs can help you with the administration of your websites as you're able to get several things carried out automatically and get reports for them, instead of spending precious time and efforts to do them yourself.
Cron Jobs in Cloud Hosting
The Hepsia Control Panel, that is provided with all our Linux cloud hosting service, will help you to create cron jobs in a few basic steps even if you haven't ever used such a feature previously. As soon as you log in and navigate to the Cron Jobs section where you're able to set background tasks, you just have to paste the server access path to PHP, Pyton or Perl with respect to the script you'll execute, type the path within your account for the specific script file and then select how often your cron job will be carried out. For the latter, you'll be able to use the basic mode and pick the minutes, hours, days, etc. through straightforward drop-down navigation, or maybe in case you are more skilled, you can use the advanced mode and specify the time interval with numbers and asterisks i.e. the standard method that you might have used with different Control Panels.
Cron Jobs in Semi-dedicated Servers
Installing a cron job in our system is very easy. Once you log in to the Hepsia Control Panel, which is provided with all of the semi-dedicated server accounts, you can go to the Cron Jobs section where you only need to select the directory path to the script file to be executed plus the command path for the specific language the script was designed in - PHP, Perl, Python, Bash. You are able to find the aforementioned in the Control Panel, and you can copy and paste it with several clicks. Then, choose the time interval for the cron via drop-down menus for the months, days, hours or minutes and you are all set. Our cron job setup wizard makes the whole process very easy and intuitive, so you will not have any problems if you do not have prior experience. In case you are more experienced, you may also take advantage of the standard cron format with the two paths, digits and asterisks typed on one line.