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?
CRON does not execute the files in /etc/cron.daily/. This is an AMD-64 installation about a month old. The only file dealing with CRON which has been modified from the default is /etc/default/cron wherein the logging option has been enabled and set to 5. After that modification cron was restarted with the command /etc/init/d/cron restart.
I was working on my Debian, minding my own business but then I wanted to see what happened if the same user was included on both cron.allow and cron.deny :p
I would have bet that cron.deny was going to override cron.allow for security reasons, but my computer proved me wrong: cron.allow seems to override cron.deny, so if you are on both, you can still cron jobs.