SolarOS 4.6.8 manual · job
ntp-sync
Network time synchronization job. It updates the SolarOS wall clock from NTP and also updates the hardware RTC when the board provides one.
Usage:
job start ntp-sync [once] [interval-sec] [server]
job stop ntp-sync
job status ntp-sync
Defaults:
| Setting | Value |
|---|---|
| Interval | 60 seconds |
| Server | pool.ntp.org |
Examples:
job start ntp-sync once
job start ntp-sync 300 time.cloudflare.com
job start ntp-sync once 60 pool.ntp.org
Notes:
- Wi-Fi must be connected before sync can succeed.
- In
oncemode, the job retries at the interval until the first successful - Without
once, it keeps syncing periodically.
sync, then stops itself.