>If the above syntax is in: /etc/cron.daily/logrotate, does that mean your
>analog is running every day? Therefore placing in
>/etc/cron.weekly/logrotate, makes it weekly??
The reason it's in cron.daily by default is so that if you do want it daily, you tell
logrotate.conf so. The .conf file tells the logrotate utility how often you want them
rotated... so six days out of seven no rotation takes place. No big deal, and you have
the flexibility to change that schedule if you want to. Check the logrotate docs for
better info that I can give...
>One further question, does -HUP actually disable httpd? I am just
>thinking that if I had say 100 sites hosted, doing 100 x -HUP signals
>could be a significant downtime?
It's a very-soft restart, along the lines of a "reload your configs, please" instead
of a "close out and restart, please." Having said that, there's a reason this stuff
happens at 4am or thereabouts. ;)
The hardcore restart of the webserver would be '/etc/rc.d/init.d/httpd restart' which
might take a bit.
>Thanks for your help.
>
>Best regards, Brian
Best of luck, Brian. I'm at the "adolescent" stage of Linux-ness currently, so I'm
happy to finally have the kind of know-how that's useful to someone.
I can't believe how much typing I've done on this list having only signed up this
morning. Eep!
Karel P Kerezman
Network Administrator
Entercom Radio Portland
KGON KKSN-AM/FM KNRK KFXX KRSK
Visit the Lab: http://washuu.kgon.com
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GO d- s: a- C++ UL P+ L++++ E---- W++ N+++ o-- K- w---
O M V-- PS+ PE Y+ PGP t 5++ X-- R tv+ b+++ DI++ D++
G e h---- r+++ y++++
------END GEEK CODE BLOCK------
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------