sudo apt-get install tzdata
# if already installed use :
sudo dpkg-reconfigure tzdata
# verify that the time is correct
timedatectl
# restart cron
sudo service cron restart
Last active
May 5, 2022 07:34
-
-
Save gmolveau/2c3bd188f7255688b3a813bb460067b6 to your computer and use it in GitHub Desktop.
cron/crontab with correct local time
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment