Hi guys, That worked. I was missing a "-" in the 2nd line of the /usr/sbin/sarg-daily-report TODAY=$(date +%d/%m/%Y) YESTERDAY=$(date --date "1day ago" +%d/%m/%Y) sarg /var/log/squid3/access.log -o /var/www/squid-reports/daily -z -d $YESTERDAY-$TODAY /usr/sbin/squid3 -k rotate exit 0 I modified sarg-weekly-report and sarg-monthly-report accordingly. ---- On Tue, 19 Jul 2011 00:26:00 -0600 Helmut Hullen wrote ---- >Hallo, chinner999, > >Du meintest am 18.07.11: > >> /usr/sbin/sarg-daily-report > >> TODAY=$(date +%YYYY/%m/%d) >> YESTERDAY=$(date -date "1 day ago" +%YYYY/%m/%d) > > --date > >Viele Gruesse! >Helmut >