From owner-freebsd-isp Wed Nov 5 10:16:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA26392 for isp-outgoing; Wed, 5 Nov 1997 10:16:27 -0800 (PST) (envelope-from owner-freebsd-isp) Received: from netrail.net (netrail.net [205.215.10.3]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA26385 for ; Wed, 5 Nov 1997 10:16:23 -0800 (PST) (envelope-from jonz@netrail.net) Received: from localhost (jonz@localhost) by netrail.net (8.8.6/8.8.6) with SMTP id OAA05880; Wed, 5 Nov 1997 14:14:11 GMT Date: Wed, 5 Nov 1997 14:14:11 +0000 (GMT) From: "Jonathan A. Zdziarski" To: Eddie Fry cc: isp@FreeBSD.ORG Subject: Re: crons In-Reply-To: <199711032337.QAA11458@wicked.eaznet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Best bet would be to run it the 1st of the month, like I do. ------------------------------------------------------------------------- Jonathan A. Zdziarski NetRail Incorporated Systems Engineering Manager 230 Peachtree St. Suite 500 jonz@netrail.net Atlanta, GA 30303 http://www.netrail.net (888) - NETRAIL ------------------------------------------------------------------------- On Mon, 3 Nov 1997, Eddie Fry wrote: :I'm trying to set up a cron to compress my RADIUS log files every month. I wanted to start the cron at 11:59 on the last day of the month. But, I can't figure out if cron will recognize a date of 31 in a 30 day month or if there is another way to start the cron. Hmmm... I could run it at 1 minute after midnight the next day, but how do I get "date" to return the name of the previous month? : :Thanks for any help! I'm kinda new at the shellscript stuff. : :Eddie :