newsyslog

Dan Nelson dnelson at allantgroup.com
Thu Mar 17 09:20:41 PST 2005


In the last episode (Mar 17), Chris Knipe said:
> Can anyone perhaps just give me a sample for 'when' in newsyslog.conf to 
> get rotation to rotate at 00:00 on the 1st of the month?
> 
> I tried '@$M18D0' to no evail...

If you drop the @, that would rotate on the 18th day of every month. 
Try (from the manpage):

    $M1D0   rotate at the first day of every month at midnight (i.e.,
            the start of the day; same as @01T00)

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list