CentOS校对时间

使用ntp校对时间

1、安装ntp
yum install -y ntp

2、校对时间
ntpdate cn.pool.ntp.org

3、任务计划
00 12 * * * /usr/sbin/ntpdate cn.pool.ntp.org

cn.pool.ntp.org是ntp网络授时组织的中国授时源

暂无评论

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注


豫ICP备17006120号-1

豫公网安备 41070202001011号