Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Aug 2003 22:22:36 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Redmond Militante <r-militante@northwestern.edu>, freebsd-questions@freebsd.org
Subject:   Re: newsyslog.conf syntax 5.1-RELEASE
Message-ID:  <20030810212235.GF25948@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <20030810211509.GD25948@happy-idiot-talk.infracaninophile.co.uk>
References:  <20030810182834.GA87940@darkpossum> <20030810211509.GD25948@happy-idiot-talk.infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--SxgehGEc6vB0cZwN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Aug 10, 2003 at 10:15:09PM +0100, Matthew Seaman wrote:
> On Sun, Aug 10, 2003 at 01:28:35PM -0500, Redmond Militante wrote:

> > i'm getting the following message from the cron daemon on a 5.1-RELEASE=
 box.
> >=20
> > newsyslog: malformed at:
> > /var/log/firewall_logs			600  14    *    $DO   Z
> >=20
> > i've been trying to set up newsyslog so that it archives my firewall lo=
gs every night at midnight.  can anyone tell me what's wrong with my syntax=
 on this line?
>=20
> Looks fine to me.  You could try @T00 instead of $D0 to specify
> midnight, but the manual page says those are equivalent anyhow.
>=20
> At a complete guess: no newline at end of file?  Incorrect syntax on
> an earlier line?

Actually, I see the problem now.  You wrote:
 =20
  $DO   (letter O)
 =20
when you should have written
 =20
  $D0   (digit 0)
 =20
        Cheers,
 =20
        Matthew
 =20
--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--SxgehGEc6vB0cZwN
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/NrebdtESqEQa7a0RAk+JAJ0dkeL6+PJm3+cokt049FnpD3P/JQCdGD8Y
Fme6RcyobX08l+6usOXBV8g=
=ow+C
-----END PGP SIGNATURE-----

--SxgehGEc6vB0cZwN--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030810212235.GF25948>