Time Synchronization

How To Set Up Time Synchronization on Ubuntu Server 20.04

  1. Search for your timezone

timedatectl list-timezones
  1. Set your timezone

sudo timedatectl set-timezone America/Toronto
  1. Enable timesyncd

sudo timedatectl set-ntp on

With this, time should be set and synchronized.

After this, run timedatectl to confirm the network time status. It may take a minute for the sync to happen, but eventually System clock synchronized: will read yes and NTP service: will show as active.

Last updated