Skip to content

Commit 40b0db9

Browse files
authored
Update ntp.md
1 parent b6d9c81 commit 40b0db9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/linux/ops/ntp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ $ ntpdate cn.pool.ntp.org
148148
示例:执行如下命令,就可以在每天凌晨 3 点同步系统时间:
149149

150150
```shell
151-
echo "* 3 * * * /usr/sbin/ntpdate cn.pool.ntp.org" >> /etc/crontab # 修改 crond 服务配置
151+
echo "0 3 * * * /usr/sbin/ntpdate cn.pool.ntp.org" >> /etc/crontab # 修改 crond 服务配置
152152
systemctl restart crond # 重启 crond 服务以生效
153153
```
154154

0 commit comments

Comments
 (0)