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
always present in Lucid
way to solve :
rm /etc/cron. daily/sarg weekly/ sarg monthly/ sarg
rm /etc/cron.
rm /etc/cron.
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 sarg-reports || /usr/sbin/ sarg-reports
# test ! -x /usr/sbin/
endscript