添加定时任务 crontab -e */5 * * * * /sbin/ntpdate time.nist.gov &> /dev/null systemctl restart crond.service