Comment 1 for bug 239384

Revision history for this message
mmaura (mmaura66) wrote :

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