newsyslog.conf syntax 5.1-RELEASE
m.seaman at infracaninophile.co.uk
Sun Aug 10 14:22:52 PDT 2003
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.
> > newsyslog: malformed at:
> > /var/log/firewall_logs 600 14 * $DO Z
> > i've been trying to set up newsyslog so that it archives my firewall logs every night at midnight. can anyone tell me what's wrong with my syntax on this line?
> Looks fine to me. You could try @T00 instead of $D0 to specify
> midnight, but the manual page says those are equivalent anyhow.
> At a complete guess: no newline at end of file? Incorrect syntax on
> an earlier line?
Actually, I see the problem now. You wrote:
$DO (letter O)
when you should have written
$D0 (digit 0)
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030810/6f0c75ed/attachment.bin
More information about the freebsd-questions