From owner-freebsd-hackers Mon Jan 10 5:32:27 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from urquell.pilsnet.sunet.se (urquell.pilsnet.sunet.se [192.36.125.77]) by hub.freebsd.org (Postfix) with ESMTP id CD21715AAB for ; Mon, 10 Jan 2000 05:27:55 -0800 (PST) (envelope-from carbon-unit-1@urquell.pilsnet.sunet.se) Received: (from bd@localhost) by urquell.pilsnet.sunet.se (8.9.1/8.9.1) id OAA10919; Mon, 10 Jan 2000 14:27:46 +0100 (CET) (envelope-from carbon-unit-1@urquell.pilsnet.sunet.se) X-Authentication-Warning: urquell.pilsnet.sunet.se: bd set sender to carbon-unit-1@urquell.pilsnet.sunet.se using -f To: "Daniel C. Sobral" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: UTC time in crontabs References: <386D0B2C.8F29EDE3@newsguy.com> From: Bjorn Danielsson Date: 10 Jan 2000 14:27:46 +0100 In-Reply-To: "Daniel C. Sobral"'s message of "Sat, 01 Jan 2000 04:59:40 +0900" Message-ID: Lines: 20 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Daniel C. Sobral" wrote: > Bjorn Danielsson wrote: > > > > I have made a small patch (about 10 lines of code) to "cron" that lets > > people choose between localtime and gmtime for their crontab entries. > > The choice is made depending on the setting of an environment variable > > in the crontab file. The cost is a factor 2 for the tiny amount of work > > that cron does when it checks all the crontab entries every minute. > > > > Any interest in this? > > I like it. My UTC patch is available at: http://urquell.pilsnet.sunet.se:8000/cron-utc-patch.txt -- Björn Danielsson KTHNOC / Swedish University Network (mail me for my real e-mail address) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message