A cron job is an automatic task, which executes a certain action - usually executing a script in a hosting account. The task is planned, so that it will run on a regular basis - weekly, daily, hourly etc. There are many good reasons to make use of a cron job for your sites. For instance, you may get regular reports how many website visitors have registered on your website, some temporary folder can be emptied automatically once a week or a backup of your content can be generated in a standalone folder within your website hosting account. Making use of cron jobs can help you with the administration of your websites since it is possible to get lots of things carried out automatically and have reports about them, as an alternative to investing precious time and efforts to do them by hand.
Cron Jobs in Cloud Web Hosting
The Hepsia Control Panel, that is provided with all of the Linux cloud web hosting packages
, will help you to create cron jobs in several easy steps even if you have never used this type of option previously. When you sign in and navigate to the Cron Jobs area where you can assign background tasks, you just need to copy and paste the server access path to Perl, Python or PHP with respect to the script that you'll run, type the path within your account to the actual script file and after that select how often your cron job will be carried out. For the aforementioned, you'll be able to use the standard mode and select the days, hours, minutes, etc. using simple drop-down navigation, or in case you are more experienced, you can use the advanced mode and set the time interval with numbers and asterisks i.e. the standard method that you might have employed with various other Control Panels.
Cron Jobs in Semi-dedicated Hosting
Setting up a cron job in our system is really simple. Once you sign in to the Hepsia Control Panel, which is provided with all semi-dedicated server
accounts, you will be able to go to the Cron Jobs section where you just have to select the directory path to the script file to be executed as well as the command path for the specific language the script was designed in - PHP, Perl, Python, Bash. You will be able to find the aforementioned within the Control Panel, and you can copy and paste it with just a few clicks. Next, choose the time interval for your cron using drop-down navigation for the months, days, hours or minutes and you are all set. Our cron job setup wizard makes the entire process really easy and intuitive, so you won't have any problems if you do not have previous experience. If you are more tech-savvy, you may also take advantage of the regular cron format with the two paths, digits and asterisks typed on a single line.