Keep an Ubuntu server’s time up to date

Install rdate

apt-get install rdate

Edit the cron table
crontab -e

Add this entry

30 5 * * * /usr/bin/rdate -s time-a.nist.gov

Leave a Comment