Systems File for 3b2

Stephen J. Friedl friedl at vsi.UUCP
Fri Apr 22 13:16:58 AEST 1988


In article <144800028 at occrsh.ATT.COM>, rjd at occrsh.ATT.COM writes:
< 
< Some time ago, I wrote:
<
< :This common problem is cause by cron not knowing how to export the
< :proper TZ (timezone) environment variable; the default EST5EDT gets
< :used.  [...]
< 
<   Well, it is much easier to have the script that starts cron on boot
< up to have the correct TZ variable.  Just add ". /etc/TIMEZONE" before
< the /etc/cron line in whichever file starts cron for you; usually either
< /etc/rc.d/cron or /etc/rc2.d/S??cron.

Not always.  The 3B2 Sys V Rel 2.0.4 cron does not export TZ at all
even if it is told to do so in the manner mentioned above.  The System
V Rel 3.1 (maybe r3.0) properly exports TZ in the manner suggested.

< /etc/TIMEZONE is never consulted here either (because uucico as a shell
< does not execute /etc/profile, normally the only place that /etc/TIMEZONE
< is consulted).

With 3B2 Sys V Rel. 3.1, /etc/TIMEZONE is consulted by init to export
the proper time to getty and uucico and other friends.

-- 
Steve Friedl       V-Systems, Inc.      Resident access(2) basher
friedl at vsi.com   {backbones}!vsi.com!friedl    attmail!vsi!friedl



More information about the Comp.sys.att mailing list