Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2002 11:51:33 -0500
From:      "Louis A. Mamakos" <louie@TransSys.COM>
To:        Randy Bush <randy@psg.com>
Cc:        FreeBSD Stable <freebsd-stable@FreeBSD.ORG>
Subject:   Re: tz in cron 
Message-ID:  <200210301651.g9UGpXhw023141@whizzo.transsys.com>
In-Reply-To: Your message of "Sat, 26 Oct 2002 23:36:48 MST." <E185h2W-000JhA-00@roam.psg.com> 
References:  <E185h2W-000JhA-00@roam.psg.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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?
> 
> randy

It looks like the cron uses localtime(), so perhaps you could set the
TZ env var in /etc/rc when the cron daemon is started up.   Or
play some hackery with the cron_program variable in /etc/rc.conf

louie

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?200210301651.g9UGpXhw023141>