Hi, I also only do daily around 6h30, all from /etc/logrotate.d/squid: /var/log/squid/*.log { daily prerotate sarg 2>&1 | logger /usr/lib/calamaris/calamaris-cron-script | logger endscript postrotate /etc/init.d/squid restart | logger endscript Sean On 29 November 2012 14:26, Helmut Hullen <Hullen@xxxxxxxxxxx> wrote: > Hallo, Bartosz, > > you wrote to " How to set /etc/logrotate.d/squid to have good sarg reports?": > >>> My system runs the "sarg" reports at the end of the day, as a >>> separate cronjob, and "logrotate" runs in the very early morning, as >>> part of "cron.daily". >>> Helmut > >> So how can you create weekly and monthly reports if you create every >> day new log file? > > I create only daily reports. > > For quota etc. I use "squish". > >> And after rotating you are having only one day in log file, dont you? > > That's another problem; I've just seen that rotating doesn't work as > expected ... > > Viele Gruesse! > Helmut