LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: Alan Kennington <akenning@topology.org>
To : LinuxSA <linuxsa@linuxsa.org.au>
Date: Wed, 23 May 2001 14:09:23 +0930
Re: Time synchronisation.
On Wed, May 23, 2001 at 10:26:55AM +0930, Daryl Tester wrote:
> "Grant" <grant@conprojan.com.au> wrote:
>
> > What do other people use to synchronise the system clock?
> >
> > I use rdate, but I find when the machine is rebooted it does not keep the
> > synchronised time.
>
> rdate -s rdate.host
> hwclock --systohc
>
That's what I used to use approximately on my old RH machines.
But on SuSE machines, rdate is just not there.
So I use this in my root cron file:
29 2,8,14,20 * * * /usr/sbin/ntpdate -s -t 2 ntp.adelaide.edu.au >/dev/null 2>&1
30 2,8,14,20 * * * /sbin/hwclock --utc --systohc
It's a good idea to use --utc, of course, and also to specify the
-u in the appropriate config file so that the boot software
knows what the clock is set to.
On another machine, I have this:
27 3,9,15,21 * * * /usr/sbin/ntpdate -s -t 2 tictoc.tip.csiro.au >/dev/null 2>&1
28 3,9,15,21 * * * /sbin/hwclock --utc --systohc
AT the time of the big NTP vulnerability a month or so ago,
the adelaide.edu.au NTP disappeared for about 24 hours.
So I went hunting for another clock, which I found in the above
csiro site, which is probably in Sydney.
Cheers,
Alan Kennington.
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
[stats]
Return to the LinuxSA Mailing List Information Page