On Thu, May 03, 2001 at 05:03:11PM +1000, Justin Clift wrote:
> Hi all,
>
> I'm wondering if anyone has scripts or knows of any tools which will detect
> the next DST change, and setup a cronjob to be run just before it?
I don't know what you mean by "detect"
but perl's localtime can tell you whether
it's DST or not
$ perldoc -f localtime
What you can do is something like
$ perl -e '@a=localtime(time + 86400);print "It will be daylight saving time in 24 hours! Do something" if $a[8]'