On Thu, 07 Aug 2008 17:25:39 +0200 Zbigniew Szalbot said: > Hello all, > > Would anyone want to comment if it is possible to rotate logs with > newsyslog based on size and time (using FBSD 7.0-Release)? > > Many thanks!
Have you considered using a separate .conf file? cat /etc/crontab ... # Rotate log files every hour, if necessary. 0 * * * * root newsyslog # Rotate apache logs once a month 0 0 1 * * root newsyslog -f /usr/local/etc/nsl.http.conf # Regards, -- Don Read [EMAIL PROTECTED] It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it. _______________________________________________ email@example.com mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"