1. client(请求同步)端安装ntpdate
#sudo apt-get install ntpdate
2.配置定时任务
#crontab -e
*/1 * */usr/sbin/ntpdate NTP.time.server
1.Ctrl o写入
2 .出现“fiilenametowrite .”时,输入Enter
3.Ctrl x保存输出
“crontab :安装newcrontab”标志着成功
3.查看定时任务
#crontab -l
1. client(请求同步)端安装ntpdate
#sudo apt-get install ntpdate
2.配置定时任务
#crontab -e
*/1 * */usr/sbin/ntpdate NTP.time.server
1.Ctrl o写入
2 .出现“fiilenametowrite .”时,输入Enter
3.Ctrl x保存输出
“crontab :安装newcrontab”标志着成功
3.查看定时任务
#crontab -l
版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。