Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!genrad!decvax!ucbvax!hplabs!cae780!ubvax!vix From: vix@ubvax.UUCP (Paul Vixie) Newsgroups: comp.unix.questions Subject: Re: How to set TZ for cron? Message-ID: <2877@ubvax.UUCP> Date: Mon, 12-Oct-87 12:39:31 EDT Article-I.D.: ubvax.2877 Posted: Mon Oct 12 12:39:31 1987 Date-Received: Wed, 14-Oct-87 00:50:34 EDT References: <290@etn-rad.UUCP> Reply-To: vix@ubvax.UUCP (Paul Vixie) Organization: Vixie Enterprises Lines: 25 Keywords: cron TZ help Summary: use my PD cron In article <290@etn-rad.UUCP> markus@etn-rad.UUCP (Markus Richardson) writes: > >We are having problems *encouraging* cron to accept our (PST8PDT) timezone. >So far we have done the following to try to alleviate the problem: My Cron (PD) allows TZ (and any other env vars of your choice) to be set in each crontab (one per user, for you BSD-only folks). Cron does not use the variable itself, in interpreting time ranges in the crontabs; however, all processes created by cron will inherit the proper value. Letting TZ differ on a per-crontab basis is of questionable use, but that's how it is.. Vixie's PD Cron is available via mail from several sources - it was posted to comp.sources.misc some months back, and that group is not officially archived. I need to rewrite it quite a bit, which is why it didn't go into comp.sources.unix... It also needs to be ported to SysV - that's right, it's BSD-only at present. I was hoping that someone else would do this, but it looks like it's up to me. It shouldn't be much work, though - a few hours at most. (Hint Hint - I don't have a SysV machine, so testing is hard!) -- Paul Vixie Consultant Work: 408-562-7798 vix@ubvax.ub.com Ungermann-Bass Home: 415-647-7023 ames!pyramid!ubvax!vix Santa Clara, CA <>