A cron job is an automated task, that performs a particular action - generally executing a script in the website hosting account. The task is planned, so it will run on a regular basis - hourly, daily, weekly etc. There are lots of good reasons to employ a cron job for your websites. For instance, you may get regular reports how many visitors have registered on your website, a temp folder may be emptied automatically weekly or a backup of your content can be generated in a separate folder in your hosting account. Making use of cron jobs will help you with the administration of your websites since you'll be able to have a lot of things completed automatically and get reports about them, as opposed to investing precious time and efforts to complete them by hand.
Cron Jobs in Web Hosting
The Hepsia Control Panel, which comes with all of the web hosting plans
, will help you to create cron jobs in several easy steps even when you have not employed this type of option previously. When you sign in and navigate to the Cron Jobs area where you're able to assign background tasks, you just need to copy and paste the system access path to PHP, Perl or Python depending on the script that you will execute, type the path inside of your account for the actual script file and then choose how often your cron job has to be executed. For the aforementioned, you'll be able to use the standard mode and select the days, hours, minutes, etc. via straightforward drop-down menus, 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 standard method that you might have used with various other Control Panels.
Cron Jobs in Semi-dedicated Servers
In case you use a semi-dedicated server
account with us to host your sites, you can install cron jobs for all of them with ease. This is done in three uncomplicated steps in the Hepsia Control Panel which is used to take care of the hosting account, so you will be able to create a new cron even if you lack prior experience. Inside the Cron Jobs area of Hepsia, you will find a box where you need to copy and paste the path to the system files in your account for the programming language your script was designed in - Python, PHP, Perl, Bash, and so on. You also have to provide the folder path to the script file that will be executed in the same box and use our user-friendly drop-down menus to decide how often our system will execute the cron. More advanced users, can also take advantage of the traditional method of setting up a cron job by typing digits and asterisks in specific positions along with the aforementioned paths.