[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Not keeping correct time



Hi,

> I have these two lines in a script that cron runs nightly for root 
> 
>         netdate tcp <hostname_of_a_timeserver>
>         clock -u -w    
clock is inteligent enough to correct systematic errors. The options for
this are controled in /etc/adjtime. The clock is adjusted everytime you
boot. If you want this more frequently, put an "clock -au" into cron.daily.
Of course netdate is the better solution, as long as you have net-access.

Greetings
Bernd



Reply to: