A cron job is an automatic task, which performs a specific action - usually executing a script in a web hosting account. The task is pre-set, therefore it will run on a regular basis - hourly, daily, weekly etc. There are numerous reasons to use a cron job for your sites. For example, you may get regular reports how many site visitors have signed up on your site, a temporary folder may be emptied automatically every week or a backup of your content can be made in a standalone folder within your web hosting account. Using cron jobs will help you with the management of your websites since you are able to get many things completed automatically and get reports about them, as an alternative to spending precious time and efforts to complete them manually.
Cron Jobs in Hosting
The Hepsia Control Panel, that is provided with all the hosting plans
, allows you to create cron jobs in a few basic steps even if you haven't ever used such a feature before. Once you log in and visit the Cron Jobs section where you'll be able to set background tasks, you just have to copy and paste the server access path to PHP, Pyton or Perl based on the script you will execute, type the path within your account to the specific script file and then select how often your cron job has to be carried out. For the latter, you'll be able to use the basic mode and pick the days, hours, minutes, etcetera through uncomplicated drop-down menus, or if you are more knowledgeable, you'll be able to use the advanced mode and set the time period with numbers and asterisks i.e. the typical method that you may have used with various other Control Panels.
Cron Jobs in Semi-dedicated Servers
Installing a cron job in our system is a breeze. Once you sign in to the Hepsia Control Panel, which is included with all the semi-dedicated server
accounts, you'll be able to go to the Cron Jobs section where you just have to choose the directory path to the script file to be executed plus the command path for the particular language the script was written in - PHP, Perl, Python, Bash. You are able to find the latter in the Control Panel, thus you can copy/paste it with several clicks. After that, select the time interval for the cron through drop-down navigation 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 previous experience. In case you are more experienced, you can also use the conventional cron format with the two paths, digits and asterisks typed on a single line.