Re: Cron Jobs and Time Zones Has Anything Changed?
Greg Wooledge wrote:
> On Wed, Dec 02, 2020 at 07:30:22AM -0600, Martin McCormick wrote:
> > In a recent discussion, someone indicated that there might be a
> > way to set individual parts such as accounts on a unix system so
> > that cron could use another time zone if needed to kickoff jobs
> > on that system based on the time in another country.
>
It would not be ridiculous to run a wrapper program out of, e.g.
cron.hourly, which used an explicitly set TZ as a cue to run
another job.
Interestingly, Red Hat and Ubuntu use cronie instead of Vixie's
cron, and cronie supports a per-crontab CRON_TZ variable. cronie
is not in Debian, but it could very likely be packaged easily.
-dsr-
Reply to: