Cron timezone problem
I’ve just tried to understand what’s the problem with my crontab. I set it to a proper time but nothing happens. As i guessed the problem is in timezone.
I use Debian linux so here I’ll provide steps how I’ve fixed it:
Configure time zone with dpkg-reconfigure
dpkg-reconfigure tzdata |
Link localtime to a corresponding zoneinfo file
ln -sf /usr/share/zoneinfo/Europe/Kiev /etc/localtime |
In your case select your time zone.
Restart cron daemon
/etc/init.d/cron restart |
In my case this was the fix for the problem. I edited my contab and cron started to work like a Swiss watch