setup nntpd (or xntpd)
all of the following is done as root
and then call /sbin/hwclock --systohc in a cron
my ntp.conf looks like this:
# These are EST time server! need to use a time server in your timezone
server 128.118.25.3
server 192.220.202.75
make sure that xntpd is set to start at boot use linuxconf, or just
cd /etc/rc.d/rc3.d
ln -s ../init.d/xntpd S70xntp
cd /etc/rc.d/rc5.d
ln -s ../init.d/xntpd s70xntp
now
type crontab -e
and add something like this
00,15,30,45 * * * * /sbin/hwclock --systohc
the above will set the bios clock to the linux clock ever 15 minutes.
this will also ensure that once you boot/start linux xntp will go out
and set
you linux clock to the current time.
Michelle Schneider wrote:
>
> Ever since I had a power outage while running Linux my clock has been messed
> up. It gains several hours a day. The first thing I do every day is reset the
> clock. I'm running Mandrake 6.0.
>
> Any suggestions?
>
> Michelle
> --
> "Just because kittens are born in the hearth oven, that doesn't make them
> muffins." Kahlan Amnell in _Temple of the Winds_ by Terry Goodkind.