Linux tip, Fedora tip / howto: keeping accurate time

 
back to notes and tips index

Try my online puzzle page with Calcudoku, Killer Sudoku and online Sudoku.

keeping accurate time

You'd need this only when you're not running ntpd.

  • put the following script update_time in the directory /etc/cron.hourly
    #!/bin/sh
    /usr/sbin/ntpdate ntp1 > /dev/null

  • chmod 755 /etc/cron.hourly/update_time
  • in place of ntp1 put the name of a nearby time server


← back to notes and tips index
Please do not copy the text of this tip (© Patrick Min) to your web site.