sudo apt install ntp ntpdate
systemctl stop ntp
sudo systemctl disable ntp
sudo crontab -e
Enter the following statement and save:
*/5 * * * * /usr/sbin/ntpdate time.nist.gov
sudo hwclock -w
Modify the local time, and automatically synchronize the correct time after five minutes.