A cron job is an automatic task, which executes a certain action - usually executing some script in a hosting account. The task is pre-set, which means that it will run on a regular basis - weekly, daily, hourly etc. There are lots of good reasons to make use of a cron job for your websites. For example, you may get day-to-day reports how many site visitors have signed up on your site, a temporary folder can be emptied automatically each week or a backup of the content can be generated in a standalone folder inside your website hosting account. Making use of cron jobs can help you with the management of your sites because you can get many things executed automatically and have reports for them, rather than spending precious time and efforts to complete them yourself.
Cron Jobs in Cloud Hosting
The Hepsia Control Panel, which is included with all the cloud hosting, allows you to set up cron jobs in a couple of simple steps even if you have never used this type of feature previously. When you sign in and go to the Cron Jobs section where you are able to assign background tasks, you just have to copy and paste the system access path to PHP, Pyton or Perl based on the script that 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 aforementioned, you'll be able to use the basic mode and select the minutes, hours, days, etcetera via straightforward drop-down menus, or maybe in case you are more knowledgeable, you'll be able to use the advanced mode and set the time interval with numbers and asterisks i.e. the typical method which you might have employed with various Control Panels.
Cron Jobs in Semi-dedicated Servers
Setting up a cron job in our system is a piece of cake. Once you log in to the Hepsia Control Panel, which comes with all semi-dedicated server accounts, you are able to go to the Cron Jobs section where you only need 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 aforementioned in the Control Panel, and you can copy and paste it with several clicks. Then, choose the time interval for the cron through drop-down navigation for the minutes, hours, days or months and you will be all set. Our cron job setup wizard makes the whole process really easy and intuitive, so you will not have any problems if you do not have previous experience. If you are more experienced, you may also take advantage of the conventional cron format with the two paths, digits and asterisks typed on one line.