A cron job is an automated task, which executes a particular action - usually running a script in a hosting account. The task is scheduled, therefore it will run regularly - hourly, daily, weekly etc. There are numerous good reasons to use a cron job for your sites. For instance, you can get day-to-day reports how many website visitors have signed up on your website, some temporary folder can be emptied automatically every week or a backup copy of the content may be created in a standalone folder inside your hosting account. Employing cron jobs will help you with the administration of your sites because you'll be able to get several things carried out automatically and have reports for them, rather than spending time and efforts to complete them by hand.

Cron Jobs in Shared Web Hosting

The Hepsia Control Panel, which is featured with all the Linux shared web hosting packages, will help you to set up cron jobs in a couple of easy steps even when you have never used this option before. Once you log in and proceed to the Cron Jobs section where you're able to set background tasks, you just have to copy and paste the system access path to PHP, Perl or Python depending on the script that you will execute, type the path within your account for the specific script file and choose how often your cron job will be carried out. For the latter, you'll be able to use the standard mode and select the days, hours, minutes, etc. using uncomplicated drop-down options, or maybe if you are more skilled, you can take advantage of the advanced mode and specify the time period with numbers and asterisks i.e. the usual method that you may have employed with various other Control Panels.

Cron Jobs in Semi-dedicated Hosting

Setting up a cron job in our system is a piece of cake. Once you log in to the Hepsia Control Panel, which is included with all semi-dedicated server accounts, you are able to go to the Cron Jobs section where you just need to select the directory path to the script file to be run along with the command path for the particular language the script was written in - PHP, Perl, Python, Bash. You are able to find the latter within the Control Panel, thus you can copy/paste it with just a couple of clicks. Then, select the time period for your cron through drop-down menus for the minutes, hours, days or months and you're all set. Our cron job setup wizard makes the process really easy and intuitive, so you will not have any problems if you do not have previous experience. When you are more experienced, you may also take advantage of the standard cron format with the two paths, digits and asterisks typed on a single line.