From owner-freebsd-isp Mon Nov 3 15:35:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA13395 for isp-outgoing; Mon, 3 Nov 1997 15:35:04 -0800 (PST) (envelope-from owner-freebsd-isp) Received: from wicked.eaznet.com ([206.62.254.2]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA13370 for ; Mon, 3 Nov 1997 15:34:58 -0800 (PST) (envelope-from eddie@wicked.eaznet.com) Received: (from eddie@localhost) by wicked.eaznet.com (8.8.7/8.8.5) id QAA11458 for isp@freebsd.org; Mon, 3 Nov 1997 16:37:09 -0700 (MST) Date: Mon, 3 Nov 1997 16:37:09 -0700 (MST) From: Eddie Fry Message-Id: <199711032337.QAA11458@wicked.eaznet.com> To: isp@freebsd.org Subject: crons Sender: owner-freebsd-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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