A cron job is an automated task, that executes a certain action - usually running a script in a hosting account. The task is pre-set, which means that it will run on a regular basis - hourly, daily, weekly etc. There are many reasons to employ a cron job for your websites. As an example, you may get day-to-day reports how many site visitors have registered on your site, some temporary folder can be emptied automatically per week or a backup copy of the content can be created in a different folder in your hosting account. Making use of cron jobs will help you with the management of your websites since you are able to get several things carried out automatically and get reports for them, instead of spending time and efforts to do them manually.
Cron Jobs in Website Hosting
The Hepsia Control Panel, that is included with all our website hosting, will help you to set up cron jobs in several basic steps even when you have not employed such a function before. After you sign in and go to the Cron Jobs section where you'll be able to set background tasks, you just need to paste the server access path to Perl, PHP or Python with respect to the script you'll execute, type the path inside of your account to the specific script file and after that choose how often your cron job has to be carried out. For the latter, you can use the standard mode and choose the days, hours, minutes, etc. through simple drop-down options, or if you are more experienced, you can take advantage of the advanced mode and specify the time period with numbers and asterisks i.e. the standard method which you may have employed with various Control Panels.
Cron Jobs in Semi-dedicated Servers
Installing a cron job in our system is really easy. Once you log in to the Hepsia Control Panel, which is provided with all the semi-dedicated server accounts, you can go to the Cron Jobs section where you only have to pick the directory path to the script file to be executed along with the command path for the particular language the script was written in - PHP, Perl, Python, Bash. You'll be able to find the latter inside the Control Panel, and you can copy/paste it with a few clicks. Next, select the time period for your cron using drop-down menus for the months, days, hours or minutes and you are all set. Our cron job setup wizard makes the process really simple and intuitive, so you will not have any problems if you don't have prior experience. In case you are more tech-savvy, you may also use the common cron format with the two paths, digits and asterisks typed on a single line.