Change timezone on Ubuntu
1. Check the timezone:
1 |
more /etc/timezone |
2. Change the timezone:
1 |
dpkg-reconfigure tzdata |
3. Be sure to restart cron as it won’t pick up the timezone change and will still be running on UTC.
1 2 |
/etc/init.d/cron stop /etc/init.d/cron start |