const class studs::Ntpd
sys::Obj studs::Daemon studs::Ntpd
The Ntpd daemon provides support for synchronizing wall clock time using the NTP protocol.
See NTP chapter for details.
- cur
-
const static Ntpd? cur(Bool checked := true)Get the Ntpd instance for this VM. If an instance is not found, throw Err if
checkedotherwise return null. - make
-
new make() - servers
-
Str[] serversThe current NTP server pool.
- sync
-
Bool sync(Duration? timeout := null)Block until ntpd acquires a valid time. If
timeoutisnullthis method blocks indefinietly. Returnstruetime was acquired, orfalseif timed out.