Re: Is crontab sensitive to time zones John Hasler wrote:
> voipfc wrote:
>> When a crontab is created does it conform to the users timezone or the
>> servers timezone?
>
> It ¨conforms¨ to the user´s timezone on the server. Just set TZ
> appropriately in your account on the server and you´ll be fine,
Not sure that is correct.
Crontab itself runs as a root type process..it will pickup presumably
what the server time is reckoned to be as the time to execute a script.
However a users timezone will be picked up by any user installed
scripts, under user space crontab entries. That wonlt affect WHEN they
are executed..tho.
Why not test by setting your local user TZ to something weird, and
installing a cron script and have it simply echo the date? |