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

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

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