A cron job is an automatic task, which performs a certain action - generally running some script in a website hosting account. The task is planned, which means that it will run on a regular basis - hourly, daily, weekly etc. There are many reasons to make use of a cron job for your sites. For example, you can get day-to-day reports how many visitors have registered on your website, some temp folder may be emptied automatically once a week or a backup copy of your content may be created in a different folder inside your hosting account. Employing cron jobs will help you with the management of your sites because you can have many things done automatically and get reports about them, as an alternative to spending valuable time and efforts to do them yourself.
Cron Jobs in Website Hosting
The Hepsia Control Panel, that comes with all of our Linux website hosting, will allow you to set up cron jobs in several basic steps even if you have not employed such a feature before. Once you sign in and proceed to the Cron Jobs section where you can set background tasks, you just need to paste the system access path to Perl, PHP or Python according to the script you will run, type the path inside of your account for the actual script file and then choose how often your cron job will be executed. For the latter, you'll be able to use the standard mode and choose the days, hours, minutes, etcetera via simple drop-down navigation, or maybe in case you are more skilled, you can use the advanced mode and specify the time period with numbers and asterisks i.e. the typical method that you might have used with various other Control Panels.
Cron Jobs in Semi-dedicated Servers
Installing a cron job in our system is really easy. Once you sign in to the Hepsia Control Panel, which is included with all of the semi-dedicated server accounts, you're able to go to the Cron Jobs section where you only have to choose the directory path to the script file to be run as well as the command path for the particular language the script was written in - PHP, Perl, Python, Bash. You're able to find the latter in the Control Panel, so you can copy/paste it with a couple of clicks. Next, select the time interval for your cron via drop-down menus for the months, days, hours or minutes and you are all set. Our cron job setup wizard makes the whole process really easy and intuitive, so you will not have any problems if you do not have previous experience. If you are more tech-savvy, you can also use the standard cron format with the two paths, digits and asterisks typed on one line.