A cron job is an automatic task, that executes a specific action - generally executing a script in a website hosting account. The task is planned, so it will run regularly - weekly, daily, hourly and so on. There are various reasons to make use of a cron job for your sites. For instance, you may get regular reports how many site visitors have signed up on your site, a temporary folder can be emptied automatically each and every week or a backup of the content may be generated in a different folder inside your web hosting account. Making use of cron jobs will help you with the administration of your sites as you can have a lot of things completed automatically and get reports for them, in lieu of spending valuable time and efforts to do them yourself.
Cron Jobs in Website Hosting
The Hepsia Control Panel, that is included with all of the Linux website hosting
, allows you to create cron jobs in a couple of simple steps even when you have not employed such a option before. When you sign in and go to the Cron Jobs area where you're able to create background tasks, you just need to paste the system access path to Perl, Python or PHP depending on the script you will execute, type the path inside of your account to the actual script file and then choose how often the cron job will be executed. For the latter, you'll be able to use the basic mode and choose the days, hours, minutes, etcetera using uncomplicated drop-down navigation, or if you are more experienced, you can use the advanced mode and specify the time interval with numbers and asterisks i.e. the typical method which you may have employed with various Control Panels.
Cron Jobs in Semi-dedicated Hosting
If you use a semi-dedicated server
account from us to host your websites, you're able to create cron jobs for any of them with ease. This can be done in 3 very simple steps from the Hepsia Control Panel that's used to manage the web hosting account, so you can set up a new cron even when you don't have any previous experience. Inside the Cron Jobs section of Hepsia, you'll discover a box where you have to copy and paste the path to the system files in your account for the programming language your script was written in - Perl, Bash, Python, PHP, etcetera. You also have to submit the folder path to the script file that'll be executed in the same box and use our intuitive drop-down menus to decide how often our system will execute the cron. More advanced users, can also employ the traditional method of creating a cron job by typing digits and asterisks in specific positions along with the previously mentioned paths.