sign in
Home | Updates | Pages | Users | Admin | Help

ntpdate on Debian

Install ntpdate

$ apt-get install ntpdate

Edit /etc/default/ntpdate

# servers to check
NTPSERVERS="ntp.nc.u-tokyo.ac.jp clock.nc.fukuoka-u.ac.jp clock.tl.fukuoka-u.ac.jp" 

Add ntpdate to the crontab

$ /etc/init.d/ntpdate start
$ export EDITOR=vi; crontab -e
0 * * * * /etc/init.d/ntpdate start

Can I use rdate for this?


Powered by JunebugWiki v0.0.31 Page last edited by stoyan on December 18, 2006 05:19 PM (diff)
[readonly] Version 2 (current) «olderversions