Path: utzoo!mnetor!uunet!ncc!alberta!att-ih!ihnp4!skep2!wcs From: wcs@skep2.ATT.COM (Bill.Stewart.) Newsgroups: comp.sys.att Subject: Re: Systems File for 3b2 Message-ID: <66@skep2.ATT.COM> Date: 24 Apr 88 14:59:04 GMT References: <348@spock.UUCP> <559@vsi.UUCP> Reply-To: wcs@skep2.UUCP (46323-Bill.Stewart.,2G218,x0705,) Organization: AT&T Bell Labs Center 4632, Holmdel, NJ Lines: 20 In article <559@vsi.UUCP> friedl@vsi.UUCP (Stephen J. Friedl) writes: :This common problem is cause by cron not knowing how to export the :proper TZ (timezone) environment variable; the default EST5EDT gets :used. This can be fixed three ways: : (1) move to New Jersey : (2) get SVR3 -- it handles TZ correctly : (3) put ". /etc/TIMEZONE" everywhere. :MORAL: Always include ". /etc/TIMEZONE" at the start of scripts : run from cron. If you can't use solution 1), remember to put . /etc/TIMEZONE into /etc/rc BEFORE YOU START CRON. This way, all your cron jobs will know what timezone it is. Also put it in /etc/profile, so people who use normal shells to log in will get it. This still doesn't help incoming uucp jobs, since uucico doesn't see /etc/profile; does it do the right thing? -- # Thanks; # Bill Stewart, AT&T Bell Labs 2G218, Holmdel NJ 1-201-949-0705 ihnp4!ho95c!wcs # skep2 is a local machine I'm trying to turn into a server. Please send # mail to ho95c or ho95e instead. Thanks.