always present in Lucid

way to solve :

rm /etc/cron.daily/sarg
rm /etc/cron.weekly/sarg
rm /etc/cron.monthly/sarg

echo "PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
00 08-18/1 * * * sarg-reports today
00 00      * * * sarg-reports daily
00 01      * * 1 sarg-reports weekly 
30 02      1 * * sarg-reports monthly" > /etc/cron.d/sarg


After we must change log rotatation for squid to monthly 
and remove the obsolete and broken prerotate line :

(/etc/logrotate.d/squid)

        prerotate
#                test ! -x /usr/sbin/sarg-reports || /usr/sbin/sarg-reports
        endscript

-- 
Sarg cron scripts don't generate logs correctly
https://bugs.launchpad.net/bugs/239384
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to