$TZ, crontab(1)

Guy Harris guy at auspex.auspex.com
Wed Apr 24 03:40:40 AEST 1991


>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?



More information about the Comp.unix.questions mailing list