[chrony-users] Discover when a time sync has been performed

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

Hi all!

First of all, say hello and thanks to the team for developing great software like Chrony :)

My question is about checking when a time sync has been performed. I'm developing an application where time sync is important. It's running on a Raspberry Pi, so time is not very good kept. When the net connection is started I notify chrony about the sources being online, and the config is set to execute a "makestep" if more than 10secs deviation is found.

But, how may I check if the sycn (makestep) is already done? I've been searching the logs (syslog, tracking, measurements) but don't know what may trigger my "Sync ok!" event. 

Maybe looking at the offset value and setting some threshold, so if it's lower it's ok for the app to continue?

thanks in advance. 


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