Re: [chrony-users] Which command is better to force chrony to synchronize time right now -- chronyc burst or chronyc waitsync?

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]




William G. Unruh   |  Canadian Institute for|     Tel: +1(604)822-3273
Physics&Astronomy  |     Advanced Research  |     Fax: +1(604)822-5324
UBC, Vancouver,BC  |   Program in Cosmology |     unruh@xxxxxxxxxxxxxx
Canada V6T 1Z1     |      and Gravity       |  www.theory.physics.ubc.ca/

On Thu, 23 Oct 2014, Rufe Glick wrote:

is a larger offset and chrony.conf doesn't include an unlimited makestep
directive, you will also need to wait until the new measurements are
made and then tell chronyd to make the step:

sleep 10
chronyc -a makestep

Is this what you are looking for?

Yes, that seems to be what I was looking for.

One  follow  up question. Why do you suggest to call 'sleep 10' before
'chronyc -a makestep'? What does it do?

It is to wait until chrony has made its new measurements. You could also put in a burst directive first
chronyc -a "burst 3/5"
chronyc -a makestep



Thanks,
Rufe


--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject. For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/