2019-04-23 23:58:21 +02:00
|
|
|
Command line:
|
|
|
|
sntp host [-tz [-[+]]hh[:ss]] [-s]|[-st]|[-ss]]
|
|
|
|
host Name of SNTP server
|
|
|
|
-tz - set time zone, default is GMT +0:00
|
|
|
|
|
2020-06-14 16:29:14 +02:00
|
|
|
Synchronization, default is disabled
|
2019-04-23 23:58:21 +02:00
|
|
|
-s - system date and time
|
2020-06-14 16:29:14 +02:00
|
|
|
-st - system time (hours, minutes and seconds) only
|
|
|
|
-ss - preserve current hour (synchronize minutes and seconds only)
|
2019-04-23 23:58:21 +02:00
|
|
|
|
|
|
|
Eg:
|
|
|
|
sntp pool.ntp.org -tz 1 -s
|
|
|
|
sntp 88.147.254.227 -tz 1 -ss
|
|
|
|
|
|
|
|
History
|