bashmacosmacos-mojavemacos-monterey

ntpdate command not found in MacOS Mojave


I have a Bash script who update the time of my mac but since the update of Mojave the command isn't found:

ntpdate -u time.apple.com

return :

ntpdate: command not found

Where am I going wrong?


Solution

  • See: How can I tell if my Mac is keeping the clock updated properly?

    TL;DR use sudo sntp -sS time.apple.com instead.