Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2002 14:36:24 -0500
From:      "Charles Swiger" <cswiger@mac.com>
To:        <freebsd-stable@FreeBSD.ORG>
Subject:   Re: tz in cron
Message-ID:  <00fd01c2804b$abf26fd0$0301a8c0@prime>
References:  <E185h2W-000JhA-00@roam.psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Randy Bush wrote:
> in the man page and the code, i can see nothing like netbsd's CRON_TZ.
> so if i do, for example, TZ=GMT in crontab, can i run it in zulu?

Setting environment variables in the crontab script sets them for the
subshells it spawns to run the tasks.  I think you'd need to set $TZ in the
environment that starts cron, which probably is the /etc/rc scripts.

-Chuck


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00fd01c2804b$abf26fd0$0301a8c0>