From owner-freebsd-questions Wed Mar 17 17:28:17 1999 Delivered-To: freebsd-questions@freebsd.org Received: from kiwi.pinnacle.co.nz (unknown [210.48.55.133]) by hub.freebsd.org (Postfix) with ESMTP id 85236152D4 for ; Wed, 17 Mar 1999 17:27:43 -0800 (PST) (envelope-from jonc@pinnacle.co.nz) Received: from kiwi.pinnacle.co.nz (kiwi.pinnacle.co.nz [202.37.163.2]) by kiwi.pinnacle.co.nz (8.9.3/8.9.3) with ESMTP id JAA26780; Thu, 18 Mar 1999 09:06:56 +1300 (NZDT) Date: Thu, 18 Mar 1999 09:06:56 +1300 (NZDT) From: Jonathan Chen To: Kelly Yancey Cc: freebsd-questions@FreeBSD.ORG Subject: Re: proper way to set TZ? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 17 Mar 1999, Kelly Yancey wrote: > > I have a couple of scripts which rely on TZ being set to the server's > time zone. What is the proper was to do this so I don't have to put a > TZ=EST; export TZ before invoking any of the scripts. > Is there a startup script that this should be in? If so, which one? TZ is a SysV mechanism. What are you trying to do, exactly? If you really want to get it, I suppose one way of doing it is to get the output of: date '+%Z' -- Jonathan Chen | "Vini, vidi, velcro... | I came, I saw, I stuck around" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message