A cron job is an automatic task, which performs a particular action - usually running a script in a hosting account. The task is planned, so that it will run regularly - weekly, daily, hourly etc. There are various good reasons to make use of a cron job for your sites. For example, you may get regular reports how many visitors have registered on your site, a temp folder can be emptied automatically per week or a backup of the content may be made in a different folder inside your hosting account. Making use of cron jobs will help you with the administration of your websites because you'll be able to have lots of things executed automatically and have reports about them, as an alternative to investing precious time and efforts to complete them yourself.
Cron Jobs in Shared Hosting
Creating a cron job will take you simply three simple steps when you obtain a shared hosting plan through our company. The Hepsia Control Panel, that comes with all the website hosting accounts, has an area dedicated to the crons and once you go there, you should type the folder path to the script that you want to be run, the command path to the server files for the particular programming language (Perl, Python, PHP), that you can copy from the Server Information section, and then determine how frequently the cron job has to run. For that time interval, our company offers two options - an easy to use one with drop-down menus where you can choose the minutes, hours, days and/or months, and a more complex one that's used with other website hosting Control Panels where you are expected to type numbers and asterisks on certain positions that outline different periods of time.
Cron Jobs in Semi-dedicated Hosting
Installing a cron job in our system is quite easy. Once you sign in to the Hepsia Control Panel, which comes with all of the semi-dedicated server accounts, you can go to the Cron Jobs section where you just have to select 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 will be able to find the aforementioned within the Control Panel, so you can copy/paste it with just a couple of clicks. Next, select the time interval for the cron using drop-down navigation for the months, days, hours or minutes and you'll be all set. Our cron job setup wizard makes the process very simple and intuitive, so you will not have any problems if you do not have prior experience. If you are more experienced, you can also take advantage of the common cron format with the two paths, digits and asterisks typed on one line.