[CentOS] Date/Time config 'behind the scenes'

Stephen Harris lists at spuddy.org
Fri Feb 8 02:46:46 UTC 2008


On Thu, Feb 07, 2008 at 08:03:52PM -0600, Todd Reed wrote:
> I have a script that runs every night that syncs the clock and then
> records it to the hardware clock.
> 
> #!/bin/sh
> /usr/bin/rdate -s time-a.nist.gov

That's nasty and can cause the clock to go backwards.  Unix really does
like the clock to only go forwards.

Use NTP, which is designed to keep the clock always in sync.

-- 

rgds
Stephen



More information about the CentOS mailing list