网上很多搜到的资料都是过时的,主要是时间服务器不能用,不管是国内的还是国外的
1. yum -y install ntp ntpdate
2. 在/etc/crontab中,加入:
0 0 0 * 1 root ntpdate -u cn.pool.ntp.org
然后, service crond restart
选用错误的时间服务器后,错误提示是: “no server suitable for synchronization found”
网上很多搜到的资料都是过时的,主要是时间服务器不能用,不管是国内的还是国外的
1. yum -y install ntp ntpdate
2. 在/etc/crontab中,加入:
0 0 0 * 1 root ntpdate -u cn.pool.ntp.org
然后, service crond restart
选用错误的时间服务器后,错误提示是: “no server suitable for synchronization found”