How does Ubuntu force time synchronization

Time:2021-9-17

The best way is to start the NTP process.

Force synchronization

sudo ntpdate -s time.nist.gov

The above command will force synchronization of time on the local computer.

How does Ubuntu force time synchronization

View process status

sudo service ntp status

The above command can view the status of NTP.

Start process

sudo service ntp start

The above command will start the NTP process.

https://www.ossez.com/t/ubunt…