crontab -e 让系统每隔一段时间自动与NTP服务器同步一次,例如:0 */2 * * * /usr/sbin/ntpdate +ntp服务器地址,两个小时同步一次时间!
[root@localhost mnt]# crontab -l * 23 * * * /usr/sbin/ntpdate asia.pool.ntp.org >> /dev/null 你懂的!!!
18,773
社区成员
11,463
社区内容
加载中
试试用AI创作助手写篇文章吧