|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Jenkins, Michael (Michael.Jenkins
disney.com)Date: Mon Apr 02 2001 - 12:09:20 CDT
Read newsyslog(8) for FreeBSD and OpenBSD.
(Use http://www.FreeBSD.org/cgi/man.cgi for both.)
You'll see the "when" field of FreeBSD is quite
different from the "archive interval" of OpenBSD.
Mike
-----Original Message-----
From: Jason Hunt [mailto:jason.hunt
niicommunications.com]
Sent: Monday, April 02, 2001 10:23 AM
To: misc
openbsd.org
Subject: /etc/newsyslog question
I have the following in /etc/newsylog for messsages:
/var/log/messages 644 24 * $MLDO Z
I assumed that this would cause /var/log/messages to be rotated on
last day of the month. Evidently not. I used the same format
of FreeBSD, and I couldn't find what ngen meant in man pages for
newssyslog.
My crontab has this entry:
# rotate log files every hour, if necessary
0 * * * * /usr/bin/newsyslog
anyone?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]