Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2001 13:03:29 +0000
From:      Matthew Seaman <m.seaman@inpharmatica.co.uk>
To:        dan@langille.org
Cc:        Greg Black <gjb@gbch.net>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: how to test out cron.c changes? (was: cvs commit: src/etc crontab)
Message-ID:  <3A5DAF21.68DCD58D@inpharmatica.co.uk>
References:  <20010110233907.L253@speedy.gsinet> 	of Wed, 10 Jan 2001 23:39:07 %2B0100 <200101110647.TAA32661@ducky.nz.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Dan Langille wrote:
> 
> On 11 Jan 2001, at 16:33, Greg Black wrote:
> 
> > We'd need some guarantees that the attempt to maintain current
> > behaviour was done correctly -- i.e., without introducing bugs
> > that broke things.
> 
> What sort of guarantees are acceptable?
> 
> > In the beginning, something like CRON_DST_HACK="NO" in rc.conf
> > with a comment pointing to the explanation should cover both
> > these items.  If more is needed later, then it can be added.
> 
> Do you mean /etc/defaults/rc.conf?
> 

Howabout having a setting:

TZ=GMT0BST

or 

TZ=Europe/London

in the crontab file, analogous to the MAILTO= or USER= settings that already
exist.  That would mean individual user crontabs could run on different
timezones --- or would that just be too complicated?

I suppose the default (with no TZ= setting) should be to work just as cron
does now, using the system standard timezone, without DST hacks, or you could
choose a timezone setting without DST changes:

TZ=UTC

and probably

TZ=localtime

to use the system default time zone, with DST hacks.

	Matthew

PS.  If anyone is counting, put me down as one who thinks the DST hack is a
good idea.

-- 
           Certe, Toto, sentio nos in Kansate non iam adesse.

   Dr. Matthew Seaman, Inpharmatica Ltd, 60 Charlotte St, London, W1T 2NU
            Tel: +44 20 7631 4644 x229  Fax: +44 20 7631 4844


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A5DAF21.68DCD58D>