Search  
   
Browse by Category
 
Netfirms 24/7 Support .: SITE: DESIGN, PUBLISHING & FTP .: G. Features Supported .: How do I create a cron job to automatically update AWSTATS?

How do I create a cron job to automatically update AWSTATS?

For Advantage, Business, and Reseller accounts, cron jobs can be configured by following these steps:
  1. Login to the Netfirms Control Panel at https://controlpanel.netfirms.com 
  2. Click Hosting
  3. Choose Advanced
  4. Click Scheduled Tasks
  5. If there are no scheduled tasks created, simply follow the onscreen prompts to configure your scheduled task. Otherwise, click Add and then follow the onscreen prompts to configure your scheduled task
Guidelines:
(i) Enter the following command line. For instance, to cron awstats enter: ../cgi-bin/awstats.pl -config=model -update
(ii)
Select the Time Parameters which will dictate how often you wish to have your stats updated
(i
ii) Optional: If you wish to receive email notifications or warning error messages regarding your cron job, enter an email address to send the notification

IMPORTANT:
We suggest that your awstats cron job be run every 2 hours on the half-hour mark (eg. 1:30, 3:30, 5:30, etc. The time parameters would be as follows:

Minute(s): 30
Hour(s): Every Other Hour
Month(s): Every Month
Weekday(s): Every Weekday

Once you have added your scheduled task, you may test your cron by clicking the corresponding Test link. Your crons will also be logged in your web account in /www/.cron.log. You may view your log file using Netfirms File Manager or you may download it and use a text editor to view the log file.

How helpful was this article to you?


.: Powered by Lore 1.5.6
Visit Netfirms.com Web Hosting | Copyright © 1998 - 2009 Netfirms, Inc. All Rights Reserved.