From 40b0db918dab69f803cce813e6dbd319d01f570a Mon Sep 17 00:00:00 2001 From: lovvvve Date: Mon, 27 Jul 2020 17:32:35 +0800 Subject: [PATCH] Update ntp.md --- docs/linux/ops/ntp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/linux/ops/ntp.md b/docs/linux/ops/ntp.md index f8d58df..9a72bdb 100644 --- a/docs/linux/ops/ntp.md +++ b/docs/linux/ops/ntp.md @@ -148,7 +148,7 @@ $ ntpdate cn.pool.ntp.org 示例:执行如下命令,就可以在每天凌晨 3 点同步系统时间: ```shell -echo "* 3 * * * /usr/sbin/ntpdate cn.pool.ntp.org" >> /etc/crontab # 修改 crond 服务配置 +echo "0 3 * * * /usr/sbin/ntpdate cn.pool.ntp.org" >> /etc/crontab # 修改 crond 服务配置 systemctl restart crond # 重启 crond 服务以生效 ```