We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d008d35 commit 2a142a6Copy full SHA for 2a142a6
_posts/2021-09-06-Note-For-Search.md
@@ -80,6 +80,10 @@ Prettier 和 ESLint 果然是有些重复
80
81
`crontab -e`
82
83
+保存 / 退出:
84
+
85
+`Ctrl + X` -> `Y` -> `Enter`
86
87
VSCode 编辑查看:
88
89
`code /etc/crontab`
@@ -93,10 +97,12 @@ VSCode 编辑查看:
93
97
↑ root 为当前用户,等同于 `crontab -e`
94
98
95
99
```shell
100
+# 下边命令好像在 Ubuntu 会报错??
101
+crontab -l
102
+service crond reload # 重新载入配置
103
+service crond restart # 重启服务
96
104
service crond start # 启动服务
105
+service crond status # 查看 crontab 服务状态
106
service crond stop # 关闭服务
-service crond restart # 重启服务
-service crond reload # 重新载入配置
-crontab -l
-service crond status # 查看crontab服务状态
107
108
```
0 commit comments