Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Aug 1999 12:15:50 +0200
From:      Jesper Skriver <jesper@skriver.dk>
To:        freebsd-stable@freebsd.org
Subject:   newsyslog - absolute time
Message-ID:  <19990829121550.A5539@skriver.dk>

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

Accordin to the man page this should do the log rotation at 00:00

/var/log/maillog                        664  7     *    T000000 Z

But newsyslog doesn't like it, I've tried all the examples in the man
page, none of them does the trick. Running 3.2-STABLE as of a couple of
days ago, anybody got a idea ?

# newsyslog               
newsyslog: malformed interval/at:
/var/log/maillog                        664  7     *    T000000 Z

From the man page

             The particular format of the time is
             [[[[[cc]yy]mm]dd][T[hh[mm[ss]]]]]. Optional date fields default
             to the appropriate component of the current date; optional time
             fields default to midnight; hence if today is January 22, 1999,
             the following date specifications are all equivalent:

                   `19990122T000000'
                   `990122T000000'
                   `0122T000000'
                   `22T000000'
                   `T000000'
                   `T0000'
                   `T00'
                   `22T'
                   `T'
                   `'


/Jesper

-- 
Jesper Skriver (JS4261-RIPE), Network manager      
Tele Danmark DataNet, IP section (AS3292)

One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone to bind them.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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