We had a Linux Expert setup a Cron Job for us on a Linux Server, it makes the Server sync it's time with a time server on the Internet once a minute as there's an issue whereby it wins time and needs to be updated once a minute.
The funny thing is that the Cron Job does not work,
If I run crontab -e it's got * * * * * ntpdate -u 22.214.171.124
on the one line which should make it sync with that time server once a minute.
If I tail the crontab it shows the following:
Nov 26 10:11:01 mail /usr/sbin/cron: (root) CMD (ntpdate -u 10.51.158.132)
Nov 26 10:12:01 mail /usr/sbin/cron: (root) CMD (ntpdate -u 10.51.158.132)
So I can see that the Cron Job is running correctly, but it does not actually update the time (Server keeps on winning time).
If I enter the command manually on the Server (
ntpdate -u 126.96.36.199
) then it updates immediately and the time is fine.
Any assistance as to why that same command on the Cron Job is not updating the time would be of great assistance.