Systems File for 3b2
Bill.Stewart.<ho95c>
wcs at skep2.ATT.COM
Mon Apr 25 00:59:04 AEST 1988
In article <559 at vsi.UUCP> friedl at 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.
More information about the Comp.sys.att
mailing list