10/22: Linux > ntp ntpd
Red Hat Configuration HOWTOs
# chkconfig --list ntpd
ntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
# ntpdate -u ntp5.someserver.etc
9 Dec 15:15:15 ntpdate[12345]: step time server 123.123.123.123 offset 7.879896 sec
# chkconfig --level 345 ntpd on
# vi /etc/cron.daily/ntpdate.cron
------------------------
#!/bin/sh
/usr/sbin/ntpdate 210.173.160.27
------------------------
# chmod 755 /etc/cron.daily/ntpdate.cron
# chkconfig --list ntpd
ntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
# ntpdate -u ntp5.someserver.etc
9 Dec 15:15:15 ntpdate[12345]: step time server 123.123.123.123 offset 7.879896 sec
# chkconfig --level 345 ntpd on
# vi /etc/cron.daily/ntpdate.cron
------------------------
#!/bin/sh
/usr/sbin/ntpdate 210.173.160.27
------------------------
# chmod 755 /etc/cron.daily/ntpdate.cron