I am trying to set a cronjob run in a different timezone. I've googled a lot and found editing /etc/default/cron is the way to go. But this file is deprecated and I see the following message, so I added TZ=IST in the file /etc/init/cron.conf. I'm not sure this will work, any tips on how to move forward please?
I'm installed yum-cron and set:
# by default MAILTO is unset, so crond mails the output by itself
# example: MAILTO=root
I see in log that yum-cron done it's job:
# grep "yum" /var/log/cron
Aug 11 03:08:02 venti run-parts(/etc/cron.daily): starting
Aug 11 03:49:30 venti run-parts(/etc/cron.daily): finished