Backups run at UTC time (universal time) instead of CEST time (local time)

Started by pere, May 03, 2020, 11:49:11 AM

Previous topic - Next topic

pere

So I wish my backups to start at the time stated in the cronjob but it starts (in my case in Europe) 2 hours earlier. So I guess it starts based on UTC time and not CEST time as expected. I ask, how can I fix this issue? Thank you all!

rcschaff

Change your timezone.
# mv /etc/localtime /etc/localtime.backup
# ln -s /usr/share/zoneinfo/Europe/Brussels /etc/localtime
systemctl restart crond

once your hit /usr/share/zoneinfo/ you can begin double tapping the tab key to get a list.
Google Hangouts:  rcschaff82@gmail.com