This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.
To: "'redhat-list@redhat.com'" <redhat-list@redhat.com> From: Linux <linux@dounsix.co.nz> Subject: RE: Time syncing Date: Mon, 3 Dec 2001 22:03:02 +1300 Edward Dekkers wrote: > > I need to manage automatics time syncing (GMT +1). I think about 1 hour > > checking for correct time in CRONTAB. > > HOW TO DO IT??? > > man ntpdate > man hwclock Try this in you CRON tab file 30 */6 * * * root /usr/sbin/ntpdate -u time-a.nist.gov updates every 6 hours and even reports to /var/spool/mail/root it works fo me! === To: <redhat-list@redhat.com> From: "Anthony E. Greene" <agreene@pobox.com> Subject: Re: Time syncing Date: Mon, 3 Dec 2001 03:55:37 -0500 (EST) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 3 Dec 2001, Petr Jerabek wrote: >I need to manage automatics time syncing (GMT +1). I think about 1 hour >checking for correct time in CRONTAB. >HOW TO DO IT??? NTP is the best, run as a daemon. Look for the ntp RPM. You can also run ntpdate as a cron job if you don't have a full-time connection. A list of public NTP servers is at: http://www.eecis.udel.edu/~mills/ntp/clock2.htm Another tool is rdate. It's not as accurate, but it's Good Enough on a LAN and it's probably already installed on your system and any UNIX system. ===