ntpdate校准时间
yum install -y ntpdate
/usr/sbin/ntpdate time1.aliyun.com && /sbin/hwclock -w
crontab:
10 5 * * * (/usr/sbin/ntpdate time1.aliyun.com && /sbin/hwclock -w) &>/dev/null
yum install -y ntpdate
/usr/sbin/ntpdate time1.aliyun.com && /sbin/hwclock -w
crontab:
10 5 * * * (/usr/sbin/ntpdate time1.aliyun.com && /sbin/hwclock -w) &>/dev/null