Ubuntu/24: Difference between revisions

From Omnia
Jump to navigation Jump to search
No edit summary
 
Line 8: Line 8:


  /etc/systemd/timesyncd.conf.d/
  /etc/systemd/timesyncd.conf.d/
systemctl stop systemd-timesyncd
systemctl start systemd-timesyncd
-------


One-shot sync:
One-shot sync:

Latest revision as of 08:37, 28 September 2024

NTP

systemctl status systemd-timesyncd
/etc/systemd/timesyncd.conf
 [Time]
 NTP=ntp.example.com
/etc/systemd/timesyncd.conf.d/
systemctl stop systemd-timesyncd
systemctl start systemd-timesyncd

One-shot sync:

chronyd -q

One-shot time check:

chronyd -Q


root@IRV-CI-101:~/pbis-open-9.1.0.551.linux.x86_64.deb# chronyd -q
Command 'chronyd' not found, but can be installed with:
apt install chrony
root@IRV-CI-101:~/pbis-open-9.1.0.551.linux.x86_64.deb# ntpdate
Command 'ntpdate' not found, but can be installed with:
apt install ntpsec-ntpdate


About time synchronisation | Ubuntu
https://ubuntu.com/server/docs/about-time-synchronisation