In order to keep the time accurate on a Ubuntu system one can either:
- Run the
ntpd
(network time protocol daemon) which will run all the time and continuously adjust the system time when clocks drift. or alternatively: - Call
ntpdate
periodically (e.g. fromcron
)
Questions:
- What are the pros and cons of each of these two methods?
- Which different scenarios call for picking one over the other?