[ntp:questions] Re: NTP and Cron

Brad Knowles brad at stop.mail-abuse.org
Wed Dec 1 00:02:08 UTC 2004

At 3:25 PM -0800 2004-11-30, Steven Hajducko wrote:

>                               If a system clock is running too slow, then it
>  simply adjusts the time to be a little bit faster than real time? Adding
>  .001 ( or whatever number ) to every second until you make up that extra
>  second?

	A properly running ntpd should never step the clock, no matter 
how small the step.  What it should do is cause the clock to run 
faster or slower, and tries to always get closer to "correct" time.

	If you do this often enough, you will find that you probably have 
one clock speed that is ever so slightly too fast, and the next one 
down that is ever so slightly too slow, and you end up switching back 
and forth between them as needed to try to keep as close as possible 
to "correct" time.

	All this is explained in the documentation, although that can 
sometimes be a little difficult to understand for people who are new 
to NTP.

Brad Knowles, <brad at stop.mail-abuse.org>

"Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety."

     -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
     Assembly to the Governor, November 11, 1755

   SAGE member since 1995.  See <http://www.sage.org/> for more info.

More information about the questions mailing list