cron timezone debian-etch utc – How to Set a Time Zone for a Crontab

crondebian-etchtimezoneutc

I would like to use UTC for the scheduling times in a crontab for a single user, regardless of the current time zone of the server. How do I do this on Debian Etch?

Best Answer

you can set the variable TZ in /etc/default/cron. but this is the timezone for all crontabs.

another alternative is using fcron. the documentation shows an option to set the timezone in each crontab.