8
How can I make cron jobs run on GMT, not local time?
this is my crontab file:
#m h d m wday command
TZ=GMT
5 0,6,12,18 * * * ~/Documents/bash/transfer.sh
my jobs seem to be running at the local time (GMT+11) I am running os x snow leopard, but will move the code onto linux when development is complete.
The linux environment may be a shared environment where I may has less control over configuration.
http://askubuntu.com/questions/54364/how-do-you-set-the-timezone-for-crontab – Ciro Santilli 新疆改造中心法轮功六四事件 – 2015-12-06T09:52:41.880
http://unix.stackexchange.com/questions/195818/change-the-time-zone-of-a-cronjob – Ciro Santilli 新疆改造中心法轮功六四事件 – 2015-12-07T20:25:08.043