[CLUE-Tech] time server

Kevin Cullis kevincu at orci.com
Sat Sep 13 11:23:26 MDT 2003


Or:

I use this on SuSe

----------------------Cut Here----------------------------
if netdate -v tcp time.nist.gov; then
   hwclock -w
fi
----------------------Cut Here----------------------------

This sets the clock, but not the drift, as I would presume.

Kevin

On Wed, 2003-09-10 at 22:43, Match Grun wrote:
> Here is a script I use. Just use cron to fire up once a
> day. There are several time servers you can use.
> 
> If you have more than one computer, I suggest you configure
> one as a time server for the remaining machines. Only this 
> one needs to synchronize with an external server.
> 
> ----------------------Cut Here----------------------------
> #!/bin/sh
> /usr/bin/rdate -s time.nist.gov
> # /usr/bin/rdate -s time-a.timefreq.bldrdoc.gov
> 
> # This will set the motherboard clock
> /sbin/clock -w
> ----------------------Cut Here----------------------------
> 
> Match
> 
> On Wed, 10 Sep 2003 10:01:14 -0600
> Mike Staver <staver at fimble.com> wrote:
> 
> > Can someone tell me how to point a my linux box at a time server for
> > the system date/time?  I'm sick of this terrible, terrible clock drift
> > I experience with my linux boxes.  If I set a date/time on a box that
> > is in sync with my windows servers and cell phone, the cell phone and 
> > windows servers all stay on time, while my linux boxen all drift
> 
> _______________________________________________
> CLUE-Tech mailing list
> Post messages to: CLUE-Tech at clue.denver.co.us
> Unsubscribe or manage your options: http://clue.denver.co.us/mailman/listinfo/clue-tech



More information about the clue-tech mailing list