[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Clock loses time.



At 02:48 PM 5/18/99 -0400, you wrote:
>
>	I've looked, and I can't figure it. I have a redhat 5.2 distribution, and
>a 6.0 dist (cheapbytes) and I can't get the system clock to maintain time
>properly. Every now and then, it will randomly lose four hours. Exactly
>four hours. I can't predict when it will do this, but it's not an everyday
>kind of thing. I don't suspect my hardware, since it's different in both
>cases. 

If you get a solution, I would love to hear it.  I have problems but I do
suspect the hardware.  So, being lazy, I decided to just syncing system
time to a more authoritative host.  I use rdate in a hourly cron script.
Some folks here recommended a more accurate way but this works fine for me.

[billy billy billy]$ more /etc/cron.hourly/timesync
#!/bin/sh
 
#the NIST computer is sometimes unreachable... sync first to sparkle
/usr/bin/rdate -s sparkle.soltec.net
#on an hourly basis, sync to the NIST time machine
/usr/bin/rdate -s time.nist.gov


---
Alan D. Mead  /  Research Scientist  /  adm ipat com
Institute for Personality and Ability Testing
1801 Woodfield Dr  /  Savoy IL 61874 USA
217-352-4739 (v)  /  217-352-9674 (f)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]