On 14.04.2014 13:01, Harlan Stenn wrote:
I would expect ntpd -q to correct the system clock, not the BIOS clock.

So ntpd has nothing to do with hardware clock.


>This is the command line which starts ntpd as service:
>
>/srv/ntpd/bin/ntpd -p /var/run/ntpd.pid -g -l /srv/ntpd/log/ntpd.log -s
>/srv/ntpd/log/ntpstats/  -c /srv/ntpd/etc/ntpd.conf -u
OK, thanks - that looks good.

Yes, but -g option didn't prevent ntpd to fail when system time difference was 1 hour.


You might want to consider running a cron job from time to time to set
the BIOS clock from the system clockc, if ntpd is not updating the BIOS
clock for you.

Well, I added a cron job like this:
0 * * * *  root  /sbin/hwclock -w --localtime

for every hour.

--
Mimiko desu.
_______________________________________________
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions

Reply via email to