From owner-freebsd-hackers Sun Sep 16 18:58:59 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id E801837B40F for ; Sun, 16 Sep 2001 18:58:55 -0700 (PDT) Received: (from dan@localhost) by dan.emsphone.com (8.11.4/8.11.4) id f8H1wqv25331; Sun, 16 Sep 2001 20:58:52 -0500 (CDT) (envelope-from dan) Date: Sun, 16 Sep 2001 20:58:52 -0500 From: Dan Nelson To: Terry Lambert Cc: Tim Allshorn , freebsd-hackers@FreeBSD.ORG Subject: Re: Cron pickle Message-ID: <20010916205852.A14117@dan.emsphone.com> References: <3BA55638.91CD4CCA@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3BA55638.91CD4CCA@mindspring.com> User-Agent: Mutt/1.3.22.1i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Sep 16), Terry Lambert said: > Tim Allshorn wrote: > > I need to be able to run a particular program at the last > > minute of each month and yes I know it would be much easier to run > > it at the first minute of each month, but my hands are tied and my > > brain is too puny to work it out. > > 1) Run it the first minute of each month. > > 2) Set your system clock back one minute. or: 1) Run it the last minute of each day 2) Exit immediately unless it's the last day of the month If you do not have source to the program, wrap it in a script that does the date check. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message