From owner-freebsd-questions Tue Oct 5 8:34:46 1999 Delivered-To: freebsd-questions@freebsd.org Received: from donhm.calcasieu.com (tcnet04-14.austin.texas.net [209.99.40.203]) by hub.freebsd.org (Postfix) with ESMTP id 4739715024 for ; Tue, 5 Oct 1999 08:34:40 -0700 (PDT) (envelope-from dread@texas.net) Received: from donhm.calcasieu.com (localhost [127.0.0.1]) by donhm.calcasieu.com (8.9.3/8.9.3) with ESMTP id KAA22588; Tue, 5 Oct 1999 10:35:51 -0500 (CDT) (envelope-from dread@texas.net) Message-ID: X-Mailer: XFMail 1.3.1 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <002601bf0f0a$5c3d6400$7894a8c0@naviant.com> Date: Tue, 05 Oct 1999 10:35:50 -0500 (CDT) From: Don Read To: Lyndon Griffin Subject: RE: newsyslog question Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 05-Oct-99 Lyndon Griffin wrote: > What is the recommended way to control when newsyslog rotates files? What I > mean by this is I would like to rotate a particular log weekly, which is no > problem - I figured that much out, but I want the rotation to occur at 7pm, > for example. > > If it matters, the machine is configured for the timezone I am in... this is > a 3.3-RELEASE box. > I use different conf files for weekly and monthly rotations and in the /etc/crontab: 10 0 * * 0 root /usr/sbin/newsyslog -f /etc/newsyslog.w.conf 20 0 1 * * root /usr/sbin/newsyslog -f /etc/newsyslog.m.conf Regards, --- Don Read dread@calcasieu.com EDP Manager dread@texas.net Calcasieu Lumber Co. Austin TX -- the Y2K bug is not a problem. W2K however ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message