Skip to content

Commit df28a4a

Browse files
author
sunls24
authored
fix corntab example (#463)
1 parent 2ef52e4 commit df28a4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

command/crontab.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,13 +176,13 @@ chkconfig –level 35 crond on
176176
每一小时重启smb 
177177

178178
```shell
179-
* */1 * * * /etc/init.d/smb restart
179+
0 */1 * * * /etc/init.d/smb restart
180180
```
181181

182182
晚上11点到早上7点之间,每隔一小时重启smb
183183

184184
```shell
185-
* 23-7/1 * * * /etc/init.d/smb restart
185+
0 23-7/1 * * * /etc/init.d/smb restart
186186
```
187187

188188
每月的4号与每周一到周三的11点重启smb 

0 commit comments

Comments
 (0)