Article View: net.bugs.usg
Article #255Re: System V cron problem (with fix)
From: HO
Date: Thu, 16 Jan 1986 21:25
Date: Thu, 16 Jan 1986 21:25
18 lines
1231 bytes
1231 bytes
> 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
Technical Details
Message-ID:
<491@whuts.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuts!paulReferences:
<405@wlbr.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 exptools; site whuts.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuts!paul From: paul@whuts.UUCP (HO) Newsgroups: net.bugs.usg Subject: Re: System V cron problem (with fix) Message-ID: <491@whuts.UUCP> Date: Thu, 16-Jan-86 16:25:10 EST Article-I.D.: whuts.491 Posted: Thu Jan 16 16:25:10 1986 Date-Received: Fri, 17-Jan-86 07:21:41 EST References: <405@wlbr.UUCP> Organization: AT&T Bell Laboratories Lines: 18