Date: Thu, 17 Mar 2005 11:20:40 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: Chris Knipe <savage@savage.za.org> Cc: freebsd-questions@freebsd.org Subject: Re: newsyslog Message-ID: <20050317172040.GA18079@dan.emsphone.com> In-Reply-To: <000901c52b14$076bc210$0a01a8c0@ops.cenergynetworks.com> References: <000901c52b14$076bc210$0a01a8c0@ops.cenergynetworks.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050317172040.GA18079>
