Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Mar 2006 16:57:35 -0800
From:      "Danny Howard" <dannyman@toldme.com>
To:        freebsd-questions@freebsd.org
Subject:   switching timezone within crontab?
Message-ID:  <2a5241e00603031657h21aadc95vdc528553a9348c70@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hey,

So, we have systems running in Eastern and Pacific time zones as their
local time, not to mention DST.  So, we like to schedule a few things
with UTC to save our sanity.

If a system is not running UTC as its locale, but I want to schedule a
UTC cron job in crontab, is it sufficient to put a little:
TZ=3DUTC
Right before the job?

I will of course discover this by trial-and-error, but it is nicer to
hear from someone who has wrestled with this before. :)

http://widell.fulhack.nu/bd/dst/ is fun, but dated.

Thanks,
-danny

--
http://dannyman.toldme.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2a5241e00603031657h21aadc95vdc528553a9348c70>