From owner-freebsd-questions@FreeBSD.ORG Sun Jul 13 07:18:26 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD43B37B401 for ; Sun, 13 Jul 2003 07:18:26 -0700 (PDT) Received: from asarian-host.net (mail.asarian-host.net [194.109.160.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 043C943FAF for ; Sun, 13 Jul 2003 07:18:25 -0700 (PDT) (envelope-from admin@asarian-host.net) Comments: To protect the identity of the sender, certain header fields are either not shown, or masked. Anonymous email accounts can be requested by filling in the appropriate form at: https://asarian-host.net/cgi-bin/signup.cgi Received: (from root@localhost) by mail.asarian-host.net (8.12.9/8.12.9) id h6DEIM2V049905 for freebsd-questions@freebsd.org; Sun, 13 Jul 2003 16:18:22 +0200 (CEST) (envelope-from admin@asarian-host.net) From: Mark Message-Id: <200307131418.H6DEIMNV049896@asarian-host.net> Date: Sun, 13 Jul 2003 14:18:22 GMT X-Authenticated-Sender: admin@asarian-host.net X-Trace: SsrNxkQ9l/XqbvnmBV4c4Yq/9J5o5jglVJrvVUA9gkjl5lpDRSifJJnlAn0ZAEl2S4U6vLxK9iZpeqEtQnsRaw== X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we are unable to process your complaint Organization: Asarian-host To: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Auth: Asarian-host PGP signature iQEVAwUAPxFqLjFqW1BleBN9AQHs+ggAl5KucDvZxhgIlQp+xpT1YaXUwaCpX2W+ EQ+6M7g5qj9++zK4HFJg7EXz1Z6FI1saqIsiK/XqcLUnRov5gtTHDMcrKcByCqOF GXG0PiuOW9dhV00o1gdbMEvVmlFEFXNN9iDNHKh2LQdwX9/2Xy6jeqb4Kdcg8bP/ U5Rd91c94Co1FK9DlNxq8lYD2EYY+cllRlAk9+0DzJwQmO9wIqubUxeLEE/r5h+S G3g4TAxq1BnpvaW9nEXfbNBbFyHp0qiSA7ufLcruNvi6EC1TejLxKsE9XClbjGBG +ffSgB9Z5reZBlTQBD9PPW7P/iQ3+DtdKkkq+c6Pd0VrLlD4weohEw== =P7dA Subject: Rotation in newsyslog.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2003 14:18:27 -0000 Hello, I have an entry in /etc/crontab, that looks like this: ---------------------------------- # rotate log files every hour, if necessary 0,45 * * * * root newsyslog ---------------------------------- I added an extra rotation-cycle, at 45, after the example of adjkerntz: ---------------------------------- # See adjkerntz(8) for details. 1,31 0-5 * * * root adjkerntz -a ---------------------------------- Then, in /etc/newsyslog.conf, I added the following: ---------------------------------- /var/log/maillog 644 2 * @T00 Z /var/log/messages 644 1 * @T2345 B ---------------------------------- Yet, when I check the maillog, I see this: Jul 11 00:45:00 asarian-host newsyslog[26888]: logfile turned over Jul 12 00:45:00 asarian-host newsyslog[77950]: logfile turned over /var/log/maillog, apparently, rotates at 00:45, instead of at 00:00, as it was supposed to! Or does it AGAIN rotate at 00:45? I thought "@T00" meant: at midnight, and at midnight only. Does anyone have a clue? Thanks! - Mark