Enable or disable the automatic time synchronization clock in Ubuntu

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
Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.