Enable or disable time synchronization in Ubuntu
Check NIST enable or disable:
root@Oracle1:/home/sunny/Desktop# timedatectl
Local time: Sat 2022-12-31 23:05:35 PST
Universal time: Sun 2023-01-01 07:05:35 UTC
RTC time: Sun 2023-01-01 07:05:35
Time zone: America/Los_Angeles (PST, -0800)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
Enable or turn on the auto synchronize to the NIST atomic clock
timedatectl set-ntp yes
OR
sudo timedatectl set-ntp true
Disable or turnoff the NTP synchronizing
timedatectl set-ntp no
OR
sudo timedatectl set-ntp false