command line set time

My kid's iMac doesn't check the time very often even though it is set to do so automatically. Back when I was on linux I could write a little shell program to get the correct time off the network and set the computer's clock and then put the program in crontab. I'd like to do this for his computer but don't know
how. Thanks, Steve

12 Powerbook G4, Mac OS X (10.4.7)

Posted on Sep 29, 2006 4:19 AM

Reply
4 replies

Sep 29, 2006 9:23 AM in response to Jeffrey Jones2

Maybe it doesn't check the time because of the
firewall? If the firewall is turned on in System
Preference > Sharing, check "Allow: Network Time".


Got it! Thanks. Why my computer was set appropriately
and my son's wasn't, I don't know, but this should fix it.
(I didn't even know about this setting.)

Thanks, Steve

(This solved the problem but didn't answer my question. I'm
an escapee from Linux. I like command line options (but of
course don't need it here anymore), in particular, I wish there
were command line options for iCal.)

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.

command line set time

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