A cron job is an automatic task, which performs a particular action - generally executing some script inside a web hosting account. The task is planned, which means that it will run on a regular basis - hourly, daily, weekly etc. There are numerous good reasons to make use of a cron job for your websites. For example, you may get daily reports how many visitors have signed up on your website, some temporary folder can be emptied automatically each week or a backup copy of your content may be generated in a different folder within your website hosting account. Using cron jobs will help you with the administration of your websites because you're able to have many things executed automatically and get reports about them, instead of spending time and efforts to do them by hand.
Cron Jobs in Shared Web Hosting
The Hepsia Control Panel, that comes with all the shared web hosting service
, will allow you to set up cron jobs in several easy steps even when you have not employed such a option previously. When you log in and go to the Cron Jobs section where you're able to assign background tasks, you just have to paste the server access path to Perl, PHP or Python with respect to the script you will execute, type the path inside of your account to the actual script file and then choose how often your cron job will be executed. For the latter, you can use the standard mode and choose the days, hours, minutes, etcetera through straightforward drop-down options, or if you are more knowledgeable, you can take full advantage of the advanced mode and specify the time interval with numbers and asterisks i.e. the standard method that you may have used with different Control Panels.
Cron Jobs in Semi-dedicated Servers
If you use a semi-dedicated server
account from our company to host your websites, you can create cron jobs for any of them with ease. This is done in three really easy steps inside the Hepsia Control Panel that's used to control the hosting account, so you'll be able to create a new cron even when you don't have any prior experience. In the Cron Jobs part of Hepsia, you'll find a box where you should copy/paste the path to the system files inside your account for the programming language your script was written in - Python, PHP, Perl, Bash, and so on. You also have to enter the folder path to the script file that'll be executed in the same box then use our user-friendly drop-down menus to decide how often our system will run the cron. More advanced users, can also employ the traditional method of setting up a cron job by typing digits and asterisks in specific positions in addition to the previously mentioned paths.