Name
ntp-wait
Synopsis
ntp-wait [-v] [-f] [-nnum_tries
] [-stime
]
A Perl script that reports whether the local ntpd
has synchronized yet. Returns 0 if synchronized, 1 if not.
Options
-
-f
Cause
ntp-wait
ntpd
; otherwise,ntp-wait
returns 0.-
-n
Specify the number of times to try for a successful result before quitting. Defaults to
1000
.-
-s
Specify the number of seconds between tries. Defaults to
6
.-
-v
Enable verbose output to standard output.
Get Mac OS X Panther in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.