From owner-freebsd-stable Wed Oct 30 11:52:25 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 92D3B37B404 for ; Wed, 30 Oct 2002 11:52:24 -0800 (PST) Received: from mtiwmhc13.worldnet.att.net (mtiwmhc13.worldnet.att.net [204.127.131.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id C00EA43E3B for ; Wed, 30 Oct 2002 11:52:23 -0800 (PST) (envelope-from cswiger@mac.com) Received: from prime ([12.88.86.167]) by mtiwmhc13.worldnet.att.net (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with SMTP id <20021030193645.BFLP26175.mtiwmhc13.worldnet.att.net@prime> for ; Wed, 30 Oct 2002 19:36:45 +0000 Message-ID: <00fd01c2804b$abf26fd0$0301a8c0@prime> From: "Charles Swiger" To: References: Subject: Re: tz in cron Date: Wed, 30 Oct 2002 14:36:24 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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 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