Skip to content

Commit 3d7e773

Browse files
authored
Merge pull request #1164 from hardywu/patch-3
编辑crontab表,每天时间校准一次。
2 parents 81dfaef + 7af3639 commit 3d7e773

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

readme.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,14 @@ cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
261261
yum install ntp
262262
ntpdate cn.pool.ntp.org
263263
````
264+
编辑crontab表,每天时间校准一次。
265+
```
266+
crontab -e
267+
```
268+
编辑内容
269+
```
270+
0 0 * * * /usr/sbin/ntpdate cn.pool.ntp.org
271+
```
264272

265273
## 二开规范
266274
````

0 commit comments

Comments
 (0)