木匠0819

关注

linux 添加时间同步 与定时

木匠0819

关注

阅读 89

2023-04-20


cp -rf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime;yum install -y ntp ;yum install -y ntpdate;whereis crontab;yum install -y crontabs


crontab -e
00 04 * * * /usr/sbin/ntpdate us.pool.ntp.org;/sbin/hwclock -w;


service crond restart;

相关推荐

林塬

centos 安装 时间校准与定时同步

林塬 202 0 0

金牛豆豆

linux时间与internet时间同步

金牛豆豆 154 0 0

念川LNSC

【Linux】linux | 时间同步 | 时钟同步 | ntp同步系统时间

念川LNSC 115 0 0

凌得涂

linux时间同步

凌得涂 81 0 0

一世独秀

Linux 同步时间

一世独秀 143 0 0

村里搬砖的月野兔

linux 设置时间同步

村里搬砖的月野兔 177 0 0

江南北

Linux 时间同步 chrony

江南北 80 0 0

7dcac6528821

linux 时间同步 chrony

7dcac6528821 65 0 0

犹大之窗

Linux离线同步时间

犹大之窗 76 0 0

颜路在路上

Linux 时间操作及其同步

颜路在路上 39 0 0

精彩评论(0)

0 0 举报