Linux‎ > ‎

NTP

Linux time sync using ntp

NTP daemon status

ntpq -p -n




Syncing using ntpdate

Placing the following in crontab will update time every night at 12 midnight.

0 0 * * * /usr/sbin/ntpdate -b pool.ntp.org >> /var/log/ntp.log

Comments