System V cron problem (with fix)

HO paul at whuts.UUCP
Fri Jan 17 07:25:10 AEST 1986


> System V r2v2 cron neglects to set up the TZ variable in the environment. As a
> result, any forked program that outputs the date defaults to EST5EDT (like
> cron=>uucp=>uux=>mail).  Needless to say, this is a bit confusing for us
> PST8PDT sites on the west coast.
> 
> The same problem existed in System V r0, and System V r2v0.  The following
> diffs, however, are accurate only for System Vr2v2.
> 
> Jim Macropol
> Eaton IMS
> {ihnp4,trwrb,scgvaxd,voder,vortex}!wlbr!jm

If you set TZ before you start the cron, and export TZ, then you don't 
need to change the cron. You can do this in /etc/rc, assuming cron is
started there.

	Paul Ho
	..ihnp4!whuts!paul



More information about the Net.bugs.usg mailing list