Linux服务器时间同步

0 0 * * * /usr/sbin/ntpdate -u ntp.api.bz

注意:若不加上-u参数, 会出现以下提示:no server suitable for synchronization found
-u:从man ntpdate中可以看出-u参数可以越过防火墙与主机同步;
 
ntp常用服务器
中国国家授时中心:210.72.145.44
NTP服务器(上海) :ntp.api.bz
posted @ 2017-06-02 09:00  Jandison  阅读(179)  评论(0编辑  收藏  举报