Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!ames!oliveb!sun!gorodish!guy From: guy@gorodish.UUCP Newsgroups: comp.unix.questions Subject: Re: Daylight Savings Time and my 3b2 Message-ID: <16575@sun.uucp> Date: Sat, 11-Apr-87 20:54:08 EST Article-I.D.: sun.16575 Posted: Sat Apr 11 20:54:08 1987 Date-Received: Sun, 12-Apr-87 19:47:47 EST References: <6807@brl-adm.ARPA> Sender: news@sun.uucp Reply-To: guy@sun.UUCP (Guy Harris) Organization: Sun Microsystems, Mountain View Lines: 18 >I have a different 3b2 timezone problem. When a crontab is run it >reverts to EST time even though the clock is set for PST. TZ is >passed correctly through /etc/password I presume you mean "through '/etc/profile'" here. More correctly, it is passed correctly when a user's login shell is "/bin/sh". However, if you have a user whose login shell is, say, some specialized application, or "/usr/lib/uucp/uucico", or "/bin/csh", it won't get passed correctly. >but when running crontabs it is 3 hours off. TZ probably wasn't set correctly in the "/etc/rc" script or whichever such script started "cron" up. You have to make sure it's set at the beginning of "/etc/rc", "/etc/brc", etc., etc.. This, and the problem listed above, are reasons why if a system requires TZ to be set for every process "/etc/init" should set it.