Auto set time of day on Solaris 10

The time on My Solaris 10 server has drifted off by nearly 10 minutes. I thought there ought to be an automatic way to synchronize the time with the atomic clock on the Internet. The following may work if your server is behind a firewall (not proxy server) that has access to the Internet. Thanks to time.mit.edu who provides the real time clock.

Login as root
run “crontab -e”
add the following lines:

# sync up server time every day 4am
0 4 * * * rdate time.mit.edu

I’ve got my tip from Rich Burrridge’s Weblog.

2 thoughts on “Auto set time of day on Solaris 10”

  1. Howdy! I could have sworn I’ve been to this web site before but
    after browsing through many of the articles I realized it’s
    new to me. Nonetheless, I’m certainly delighted I stumbled upon it and I’ll be book-marking it
    and checking back regularly!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.