NTP Service - CLI

Could someone please tell me the CLI command to restart the ntpd service on OS X? I am not referring to the GUI method using "Date and Time". I need to remotely restart the ntpd service via command line.

I modified the /etc/ntp.conf and /etc/hostconfig to properly configure our NTP server, but I can't seem to identify the proper syntax to restart the service from the command line. I tried using killall, but it seems to check user processes instead of system processes by default. I have a feeling I'm missing something obvious here...

MacBook, PowerMac, MacPro, iBook, Xserve, Mac OS X (10.4.8)

Posted on Apr 3, 2007 8:53 AM

Reply
2 replies

Apr 3, 2007 9:05 AM in response to minuspol

I had tried that, but I get the error "no matching processes were found". Perhaps I had already killed it and it was no longer running...

I also tried "SystemStarter restart NetworkTime". This appears to work, but if sent via ARD as a "Send UNIX command", it fails.

Anyway, the "killall ntpd" works, so I think I'm just losing my mind... Thanks.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

NTP Service - CLI

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.