Index: [Article Count Order] [Thread]

Date:  Mon, 14 Apr 2008 17:01:00 +0100
From:  Michael Stauber <bq (at mark) solarspeed.net>
Subject:  [coba-e:12564] Re: logrotate
To:  coba-e (at mark) bluequartz.org
Message-Id:  <200804141801.01242.bq (at mark) solarspeed.net>
In-Reply-To:  <648193.64809.qm (at mark) web65608.mail.ac4.yahoo.com>
References:  <648193.64809.qm (at mark) web65608.mail.ac4.yahoo.com>
X-Mail-Count: 12564

Hi Dan,

> Tried the above -Q option. Restarted crond. Still getting the exact same
> email.

Weird, because it works for me. You're not running a third party webalizer or 
separate Webalizer cronjob on the sidelines?

Well, try this then:

Edit /etc/cron.daily/00webalizer and change this part of it ...

if [ -s /var/log/httpd/access_log ] ; then
    /usr/bin/webalizer
fi

... to this:

if [ -s /var/log/httpd/access_log ] ; then
    /usr/bin/webalizer -Q > /dev/null 2>&1
fi

That should totally shut it up by redirecting all output into nirvana. If your 
daily cronjob then still reports Webalizer related messages, then they're not 
comming from /etc/cron.daily/00webalizer, but from another cronjob that's 
missing the -Q switch.

-- 
With best regards,

Michael Stauber