Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.questions Subject: Re: $TZ, crontab(1) Message-ID: <7354@auspex.auspex.com> Date: 23 Apr 91 17:40:40 GMT References: <1991Apr17.151824.8236@robobar.co.uk> <7289@auspex.auspex.com> Organization: Auspex Systems, Santa Clara Lines: 16 >We often have several users from different timezones logging in to the >same machine. Too bad $TZ doesn't affect the per-user crontab(1) >command on common UNIXes I've tried. I.e., the "crontab" command should 1) look at the current setting of TZ and 2) look at the system-wide default setting of TZ (in those systems that 1) require TZ to be set, i.e. default to something such as GMT if it's not set and 2) are sane enough to *have* a system-wide default setting of TZ) and: 1) when it outputs the user's "crontab" file, translate the "crontab" entries to from the system-wide default time zone to the time zone specified by TZ; 2) when it installs the user's "crontab" file, perform the opposite translation?