You can easily set a cron job to set the time for you, using two
utilities: rdate (which gets a time from a remote host) and hwclock
(which sets the hardware clock). To set your system time, run
`rdate -s time.server && hwclock --systohc`
If you don't know crontab syntax, check the crontab man page:
`man 5 crontab`
-Matt Stegman
<[EMAIL PROTECTED]>
On Sun, 23 Apr 2000, ken crist wrote:
> Is anyone out there using ntp on a Linux Mandrake Pentium computer?
>
> I installed ntp, added servers to the ntp.conf file and started the
> daemon. However, it doesn't appear to be adjusting the computer's
> clock. When I use the ntptimeset tool, it tells me how far off the
> clock is but does not reset it. Any insight to properly configuring ntp
> would be appreciated.
>
> Perhaps someone knows of a tool other than ntp for setting the clock
> similar to those that are available for windows. I wanted to be able to
> do the same thing in Linux.
>
> Thanks,
> Ken
>