[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cron Jobs and Time Zones Has Anything Changed?



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.

crontab(5)

LIMITATIONS
       The  cron  daemon  runs with a defined timezone.  It currently does not
       support per-user timezones.  All the tasks: system's and user's will be
       run  based on the configured timezone.  Even if a user specifies the TZ
       environment variable in his crontab this will affect only the  commands
       executed  in  the crontab, not the execution of the crontab tasks them‐
       selves.


Reply to: