cPanel crond datetime different?
Hello,
I've recently acquired a dedicated server and change it's default timezone from NewYork to Europe/Bucharest. Changed in both WHM server time settings and PHP configuration settings.
Everything changed accordingly except cronjob timestamps (saw this in /var/log/cron) which is still in the NewYork timezone for some reason. I tried restarting crond but still the same.
Anyone could shed some light on this? Thank you.
-
Hello, Does your hardware clock match the same time zone? EX: hwclock
If not, you may need to sync it via:hwclock --systohc --localtime
Thank you.0 -
Fixed it with the following: /etc/init.d/rsyslog restart /etc/init.d/crond restart Seems the rsyslog and crond have problems adapting to server time-zone changes. The restart did the trick, but only when restarted them both. 0 -
I am happy to see the issue is now resolved. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
3 comments