Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Instead of using the ntp daemon, here is the traditional means to syncing time. This approach was taught to me by Dickson and works on systems other than Ubuntu.

The advantage over the traditional cron tab approach is,

  • Less inconsistency in logs for when there are large time corrections. 
  • A little processing power and memory, but for a modern server this is negligible.

Code Block
languagebash
date # determine current timezone

...