我在日志中只看到一个时间同步事件。它发生在启动时:
systemd-timesyncd690:同步到时间服务器188.112.42.5:123 (2.debian.pool.ntp.org)。
如何强制定期更新时间?如何检查当前间隔是什么?我在timesyncd.conf中没有看到任何有趣的东西?
发布于 2018-08-05 15:04:30
可以通过systemd-timesyncd配置文件/etc/systemd/timesyncd.conf中的这些属性来控制轮询NTP服务器的时间间隔:
PollIntervalMinSec=, PollIntervalMaxSec= The minimum and maximum poll intervals for NTP messages. Each setting takes a time value (in seconds). PollIntervalMinSec= must not be smaller than 16 seconds. PollIntervalMaxSec= must be larger than PollIntervalMinSec=. PollIntervalMinSec= defaults to 32 seconds, and PollIntervalMaxSec= defaults to 2048 seconds.
以上内容似乎是在2017年末- timesync:使轮询间隔可配置#7268中添加的。
发布于 2016-12-27 14:42:48
是一个SNTP客户端,它做一个简单的时间集.这不是一个完整的NTP实现,因此它不能估计错误并显示性能随时间的推移。
安装编年史或ntpd,因为您想要不断地旋转以纠正漂移。将其设置为使用内部NTP服务器。
https://serverfault.com/questions/822482
复制相似问题