2

Since ntpdate has been deprecated, ntpd -gq serves the same purpose in most cases. With ntpdate, one would receive an error

no server suitable for synchronization found

and exit if one provides a wrong hostname/ip.

Is this feature not yet available with ntpd ? i.e., for ntpd -gq to quit if it didnt get any response from the (invalid/not running ntp) server.

CinCout
  • 9,486
  • 12
  • 49
  • 67

0 Answers0