[ntp:questions] ntpd -q and driftfile

David J Taylor david-taylor at blueyonder.co.uk.invalid
Tue Mar 22 06:46:45 UTC 2011


> Hi,
> I would like to know if ntpd would use the driftfile specified in /etc/
> ntp.conf file if it is run periodically using crontab with -q option
> as below:
>
> /usr/sbin/ntpd -u ntp:ntp -p /var/run/ntpd.pid -g -q -L eth0
>
> I do not find any drift file being created at the specified location.
>
> Thanks and Regards,
> Prashant

Prashant,

ntpd is intended to for continuous, not periodic running.  You are not 
using it correctly.

Cheers,
David 




More information about the questions mailing list