Skip to content

Latest commit

 

History

History
executable file
·
41 lines (26 loc) · 636 Bytes

XDAGJ_Time_Synchronization_en.md

File metadata and controls

executable file
·
41 lines (26 loc) · 636 Bytes

XDAGJ Configuration Time Synchronization


Linux(Ubuntu)

1.Install ntp
sudo apt install ntp ntpdate
2. Stop the npt service and cancel the startup
systemctl stop ntp
sudo systemctl disable ntp
3. Enable scheduled task synchronization
sudo crontab -e

Enter the following statement and save:

*/5 * * * * /usr/sbin/ntpdate time.nist.gov 			
4. Write the system time to the BIOS
sudo hwclock -w 
5. Verify

Modify the local time, and automatically synchronize the correct time after five minutes.