RE: Logrotate weekly prerotate everyday?
At least yours runs. I finally gave up and wrote a perl script to
rotate mine. ugh
Daniel J. Rychlik
" Money does not make the world go round , Gravity does ."
From: Ward Willats [mailto:firstname.lastname@example.org]
Sent: Saturday, August 03, 2002 11:14 AM
Subject: Logrotate weekly prerotate everyday?
I call a local script from...
...in Debian 3.0 to run Analog reports. It is supposed to run once a
week, but it runs every day:
create 640 root adm
/etc/init.d/apache reload > /dev/null
# -- added by ward 28Jul02
# -- end ward
My tiny mind thinks a "prerotate" block should only be executed
"weekly" once it has been decided to perform a rotation. Not every
time cron/logrotate peeks into this "apache" file. What as I missing?
(I have fixed the problem by checking the day of the week in my local
reporting script, but I'd still like to understand my disconnect with
Perfect Understanding of the One True Way(tm).)
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact