Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Dadioh

macrumors 65816
Original poster
Feb 3, 2010
1,123
36
Canada Eh?
I have a Mac Pro 2006 and I am able to overclock the system successfully using ZDNET Clock Tool. However, since the Mac runs its system clock off the front side bus the system clock ends up running fast by 15%. If I open date and time preferences the system will resynch with time.apple.com but I don' want to have to manually do this. I was hoping there was a command line that achieves the same thing and then the command line could be setup in a script that runs every 5 minutes or so.

Anyone know if this can be achieved?

Thanks
 
I would rather suggest 'man ntpdate'
Basically you just do 'ntpdate ntp.server.name.com*' eg. time.euro.apple.com

Thanks. Tried it and get the following. First try without superuser fails permission. Second try running it with su gets a "sorry"? Using sudo su to turn on superuser then gets NTP Socket in use.

Mac-Pro:~ macbook24$ ntpdate time.apple.com
19 Jan 15:42:21 ntpdate[325]: bind() fails: Permission denied
Mac-Pro:~ macbook24$ su ntpdate time.apple.com
Password:
su: Sorry
Mac-Pro:~ macbook24$ sudo su
sh-3.2# ntpdate time.apple.com
19 Jan 15:42:54 ntpdate[329]: the NTP socket is in use, exiting
sh-3.2#



edit: looks like I need to run it as root....
from man ntpupdate

The ntpdate utility sets the local date and time by polling the Network
Time Protocol (NTP) server(s) given as the server arguments to determine
the correct time. It must be run as root on the local host.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.