I have what I believe is a system file,
/etc/cron.daily/ntpupdate which runs
ntpdate ntp.ubuntu.com daily to sync with the network time. Every day it generates output very similar to this:
/etc/cron.daily/ntpupdate: 16 Jan 06:30:42 ntpdate: step time server 18.104.22.168 offset -12.646804 sec
I'm not positive what the
22.214.171.124 means but I'm pretty sure
-12.646804 sec means that my server is off by around 12 seconds. But I don't know why it is off by around the same amount every day. This is an Amazon EC2 instance running Ubuntu.
I can only guess that either it is losing / gaining 12 seconds per day, or something else is syncing the time with another clock that is off by 12 seconds and then I am re-syncing it.
What should I do to try and track this down further? I don't see any other cron jobs in the
/etc/cron.* directories or in the users' cron jobs...
Just thought I'd share that I started running this hourly to see if there would be a big jump at a certain hour. This is what the hourly output is:
16 Jan 15:17:04 ntpdate: adjust time server 126.96.36.199 offset -0.464418 sec
So apparently every hour the clock is off by around half a second, so that makes sense that each day (24 hours) the clock would be off by around 12 seconds. Guess the clock is just running fast! Thanks!