From owner-freebsd-questions@FreeBSD.ORG Thu Mar 17 17:20:41 2005 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 34A0116A4CE for ; Thu, 17 Mar 2005 17:20:41 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id B969043D46 for ; Thu, 17 Mar 2005 17:20:40 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.1) id j2HHKeCp028414; Thu, 17 Mar 2005 11:20:40 -0600 (CST) (envelope-from dan) Date: Thu, 17 Mar 2005 11:20:40 -0600 From: Dan Nelson To: Chris Knipe Message-ID: <20050317172040.GA18079@dan.emsphone.com> References: <000901c52b14$076bc210$0a01a8c0@ops.cenergynetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000901c52b14$076bc210$0a01a8c0@ops.cenergynetworks.com> X-OS: FreeBSD 5.4-PRERELEASE X-message-flag: Outlook Error User-Agent: Mutt/1.5.8i cc: freebsd-questions@freebsd.org Subject: Re: newsyslog 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: Thu, 17 Mar 2005 17:20:41 -0000 In the last episode (Mar 17), Chris Knipe said: > Can anyone perhaps just give me a sample for 'when' in newsyslog.conf to > get rotation to rotate at 00:00 on the 1st of the month? > > I tried '@$M18D0' to no evail... If you drop the @, that would rotate on the 18th day of every month. Try (from the manpage): $M1D0 rotate at the first day of every month at midnight (i.e., the start of the day; same as @01T00) -- Dan Nelson dnelson@allantgroup.com