From owner-freebsd-stable Wed Oct 30 8:51:35 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D316137B401 for ; Wed, 30 Oct 2002 08:51:34 -0800 (PST) Received: from whizzo.transsys.com (whizzo.TransSys.COM [144.202.42.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA7ED43E6E for ; Wed, 30 Oct 2002 08:51:33 -0800 (PST) (envelope-from louie@whizzo.transsys.com) Received: from whizzo.transsys.com (#6@localhost.transsys.com [127.0.0.1]) by whizzo.transsys.com (8.12.6/8.12.6) with ESMTP id g9UGpXhw023141; Wed, 30 Oct 2002 11:51:33 -0500 (EST) (envelope-from louie@whizzo.transsys.com) Message-Id: <200210301651.g9UGpXhw023141@whizzo.transsys.com> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Randy Bush Cc: FreeBSD Stable X-Image-URL: http://www.transsys.com/louie/images/louie-mail.jpg From: "Louis A. Mamakos" Subject: Re: tz in cron References: In-reply-to: Your message of "Sat, 26 Oct 2002 23:36:48 MST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 30 Oct 2002 11:51:33 -0500 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > 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