Date: Tue, 14 Nov 2000 19:36:07 +0100 (CET) From: Grzegorz Czaplinski <gregory@prioris.mini.pw.edu.pl> To: cjclark@alum.mit.edu Cc: Len Conrad <lconrad@Go2France.com>, freebsd-questions@FreeBSD.ORG Subject: Re: newsyslog unhappy Message-ID: <Pine.BSF.4.21.0011141930090.41072-100000@prioris.mini.pw.edu.pl> In-Reply-To: <20001113231603.C75251@149.211.6.64.reflexcom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 13 Nov 2000, Crist J . Clark wrote:
> On Mon, Nov 13, 2000 at 04:16:42PM +0100, Len Conrad wrote:
> > I'd like to rotate my maillogs at 24:00, but leaving the
> > default-as-installed settings which apparently are as I desired (24
> > rotation), one machine rotates at 22:00 and another rotates at 19:00
> > which, well, won't hack it for us.
> >
> > So I thought I'd stick in my own settings, but it looks like I'm
> > having "typical fun with Unix man pages and tick marks".
> >
> > I get this mail, every hour, which is causing my attitude to be also malformed:
> >
> > newsyslog: malformed at:
> > /var/log/maillog 664 365 * 24@`T000000' Z
>
> Lose the quotes. Actually, if you are aiming to rotate the log
> everyday at midnight, all you need is,
>
> /var/log/maillog 664 365 * @T00 Z
>
> --
> Crist J. Clark cjclark@alum.mit.edu
>
Hello!
I had similar problem on my box. Fixing $D0 in the " when " field will
help for sure.
So try:
/var/log/maillog 664 365 * $D0 Z
Anyway have a look at man 8 newsyslog
Best regards
Grzegorz Czaplinski
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0011141930090.41072-100000>
