Actually, rather than using your script, you should just be able to go
to System -> Administration -> Time&Date and configure your system to
automatically synchronize to Internet time servers.

Alternatively, the cron entry you're looking for is:

0 * * * * /usr/sbin/ntpdate pool.ntp.org

Use "sudo crontab -e" to add this line to root's crontab using your
favorite text editor.  It will sync your clock at the top of every
hour against a random selection of time servers from pool.ntp.org.

-- 
Hal Pomeranz, Founder/CEO      Deer Run Associates      [email protected]
    Network Connectivity and Security, Systems Management, Training
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to