A cron job is an automatic task, that performs a particular action - typically running a script in the website hosting account. The task is scheduled, therefore it will run on a regular basis - weekly, daily, hourly and so on. There are various good reasons to use a cron job for your sites. For instance, you may get regular reports how many website visitors have signed up on your site, a temp folder may be emptied automatically once a week or a backup copy of your content may be created in a separate folder within your web hosting account. Making use of cron jobs will help you with the administration of your sites since you're able to have numerous things done automatically and have reports about them, as opposed to investing valuable time and efforts to do them by hand.
Cron Jobs in Web Hosting
Creating a cron job will take you simply 3 simple steps when you obtain a web hosting
plan through us. The Hepsia Control Panel, that is featured with all of the hosting accounts, has a section centered on the crons and once you go there, you need to enter the folder path to the script that you want to be executed, the command path to the system files for the specified programming language (Perl, Python, PHP), that you can copy from the Server Information section, and after that set how often the cron job has to run. For that time interval, we provide two choices - a user-friendly one with drop-down navigation where one can choose the minutes, hours, days or months, and a more advanced one that is used with other website hosting Control Panels in which you are expected to type numbers and asterisks on certain positions that outline different time periods.
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 provided with all semi-dedicated server
accounts, you are able to go to the Cron Jobs section where you only need to select the directory path to the script file to be run along with the command path for the specific language the script was designed in - PHP, Perl, Python, Bash. You can find the aforementioned within the Control Panel, so you can copy and paste it with a couple of clicks. Next, choose the time interval for your cron via drop-down menus for the minutes, hours, days or months and you'll be all set. Our cron job setup wizard makes the entire process really easy and intuitive, so you won't have any problems if you don't have previous experience. In case you are more tech-savvy, you may also take advantage of the conventional cron format with the two paths, digits and asterisks typed on one line.