Someone Said:
>Hi all,
>
>I have a dev Linux box running Redhat 9 on my home LAN and I noticed that
>the clock has drifted and is now 10 minutes behind.
>Instead of simply resetting it, I'd like this box to sync with a time
>server. I was reading about ntpd, but this seems to be a way to set up a
>machine to be a time server, which is not what I want. It also looks to be
>way more work than I want to get into.
>
>What is the best way to simply sync with a time server once per day. Is
>there a program I can run in a cron job?
>
>Also, what time servers are best to use. The only one listed in my
>ntp.conf is clock.redhat.com. Not that I don't like Redhat, I just would
>like a couple more.
>
>I don't have X running on this box, since I only SSH into it.
>
>Any help would be appreciated.
>Thanks,
>Peter
>
>---------------------------------------------------
>PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
>To subscribe, unsubscribe, or to change you mail settings:
>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Instead of running ntpd, try using ntpdate, which can be used in a crontab.
========
ntpdate -b -u pool.ntp.org
========
##
# A list of available servers can be found here:
#
http://www.pool.ntp.org/
# A good way to get servers for your machine is:
# netselect -s 3 pool.ntp.org
##
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss