I've recently changed the timezone of my system.
timedatectl set-timezone [timezone]
I then restarted cron to adjust to the new timezone.
service cron reload
However, cron
was still scheduling in the old timezone. I had to reboot the system before cron
would adjust.
How can I force cron
to use the new timezone if reloading the service won't work?
System: Ubuntu 16.04.
EDIT
This question is very similar to this question, but the cause of the problem, as well as the solution, were different.