thedarkness

Put this in a daily cron job to synchronize your system time. If your hardware clock (BIOS clock) is NOT set to GMT (UTC) remove the --utc from the call to hwclock. Ntpdate syncs system time with the time server, hwclock syncs system time with the hardware clock.


#!/bin/bash

/usr/sbin/ntpdate -s time.nist.gov > /dev/null 2>&1
/sbin/hwclock --utc --systohc


Perkiset's Place Home   Politics @ Perkiset's