date时间同步
时间:2021-09-01 23:11:12
收藏:0
阅读:27
yum install ntpdate -y 安装时间同步工具
ntpdate ntp.ntsc.ac.cn 同步时间
crontab -l 列出定时任务
crontab -e 创建一个定时任务
定时任务参数,同步整点时间
0 * * * * /usr/sbin/ntpdate ntp.ntsc.ac.cn >> /tmp/autontpdate 2>&1
原文:https://www.cnblogs.com/Dreamsoft/p/15209856.html
评论(0)