A cron job is an automatic task, which executes a particular action - typically executing some script in a website hosting account. The task is scheduled, so that it will run regularly - weekly, daily, hourly and so on. There are numerous reasons to make use of a cron job for your websites. As an example, you may get day-to-day reports how many visitors have registered on your website, some temp folder may be emptied automatically per week or a backup of the content may be generated in a different folder in your web hosting account. Making use of cron jobs can help you with the administration of your sites as it is possible to have many things executed automatically and get reports about them, in lieu of investing precious time and efforts to complete them yourself.
Cron Jobs in Hosting
The Hepsia Control Panel, that comes with all our hosting
, will help you to create cron jobs in several simple steps even if you haven't ever employed this option before. As soon as you sign in and navigate to the Cron Jobs area where you can assign background tasks, you just need to paste the server access path to Perl, PHP or Python with respect to the script you'll run, type the path in your account to the actual script file and choose how often your cron job will be executed. For the aforementioned, you'll be able to use the standard mode and pick the minutes, hours, days, etc. using uncomplicated drop-down menus, or maybe in case you are more knowledgeable, you can use the advanced mode and set the time period with numbers and asterisks i.e. the standard method which you may have used with different Control Panels.
Cron Jobs in Semi-dedicated Servers
Installing a cron job in our system is easy. Once you log in to the Hepsia Control Panel, which is included with all of the semi-dedicated server
accounts, you will be able to go to the Cron Jobs section where you only have to pick 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 are able to find the latter within the Control Panel, thus you can copy and paste it with a few clicks. After that, 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 really easy and intuitive, so you will not 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 a single line.