Network Time (NTP) Syncronized Date in Ubuntu Server

sudo bash
aptitude install ntpdate
/etc/network/if-up.d/ntpdate

You can add that last line to crontab to do it hourly.
example:
nano /etc/crontab
 paste in at the bottom:
47 *    * * *   root    /etc/network/if-up.d/ntpdate

That will execute ntpdate 47 minutes after each hour.

Powered by ScribeFire.

Leave a Reply

You must be logged in to post a comment.