A cron job is an automatic task, which executes a certain action - typically running some script in a website hosting account. The task is scheduled, so it will run regularly - hourly, daily, weekly etc. There are various good reasons to use a cron job for your sites. For example, you may get day-to-day reports how many website visitors have signed up on your website, a temp folder may be emptied automatically each week or a backup copy of your content can be generated in a standalone folder inside your website hosting account. Making use of cron jobs can help you with the administration of your websites because it is possible to get lots of things done automatically and get reports for them, in lieu of investing time and efforts to do them by hand.
Cron Jobs in Shared Website Hosting
The Hepsia Control Panel, that is featured with all of the shared website hosting services
, will help you to set up cron jobs in a few easy steps even if you haven't ever used this type of feature previously. After you log in and visit the Cron Jobs area where you are able to set background tasks, you just have to paste the server access path to PHP, Pyton or Perl according to the script that you will execute, type the path in your account to the specific script file and choose how often the cron job will be carried out. For the latter, you'll be able to use the standard mode and choose the days, hours, minutes, etc. using simple drop-down navigation, or in case you are more experienced, you can take full advantage of the advanced mode and specify the time period with numbers and asterisks i.e. the usual method that you may have employed with other Control Panels.
Cron Jobs in Semi-dedicated Hosting
Setting up a cron job in our system is very simple. Once you sign in to the Hepsia Control Panel, which comes with all the semi-dedicated server
accounts, you can 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'll be able to find the aforementioned within the Control Panel, so you can copy and paste it with a couple of clicks. Then, select the time interval for the cron via drop-down menus for the months, days, hours or minutes and you're all set. Our cron job setup wizard makes the process really simple and intuitive, so you won't have any problems if you do not have prior experience. When you are more experienced, you may also take advantage of the standard cron format with the two paths, digits and asterisks typed on one line.