PROJECTS NOTES HOME

Set the correct server time

Useful for cronjobs

sudo su -
date
# you should see the local time of the server. It might be different from yours (Lithuanian time)
# run this command:
timedatectl set-timezone Europe/Vilnius
# restart cron
systemctl restart cron
# check cron status
systemctl status cron