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

2008-02-07 Thread Stephen Harris
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 c

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

2008-02-07 Thread Todd Reed
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 /sbin/hwclock -w ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

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

2008-02-07 Thread Bill Campbell
On Thu, Feb 07, 2008, Tim Alberts wrote: >The GUI tool to set date time works great when your running X or >whatever, but what is it really doing in the background? How do I setup >automatic time synchronization from the command line? A method I frequently use to figure out what's going on unde

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

2008-02-07 Thread Stephen Harris
On Thu, Feb 07, 2008 at 05:25:59PM -0800, Tim Alberts wrote: > The GUI tool to set date time works great when your running X or > whatever, but what is it really doing in the background? How do I setup > automatic time synchronization from the command line? Modify the file /etc/ntp.conf and mak

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

2008-02-07 Thread Tim Alberts
The GUI tool to set date time works great when your running X or whatever, but what is it really doing in the background? How do I setup automatic time synchronization from the command line? Reference the GUI setup doc at: http://www.centos.org/docs/5/html/5.1/Deployment_Guide/ch-dateconfig.ht