解決Linux中crontab不執行ntpdate問題

把同步時間定時任務中,使用 crontab -e 打開配置文件,加入 * * * * * ntpdate cn.ntp.org.cn 每分鐘同步時間,上面看上去是沒什麼問題,命令行經常彈出You have new mail in /var/spool/mail/root 類似於這種提示。 當我打開這個文件的時候,如下提示:/bin/sh: ntpdate: command not found 。
相關文章
相關標籤/搜索