Skip to content

Commit

Permalink
fix corntab example (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunls24 authored Jan 9, 2023
1 parent 2ef52e4 commit df28a4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions command/crontab.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,13 +176,13 @@ chkconfig –level 35 crond on
每一小时重启smb 

```shell
* */1 * * * /etc/init.d/smb restart
0 */1 * * * /etc/init.d/smb restart
```

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

```shell
* 23-7/1 * * * /etc/init.d/smb restart
0 23-7/1 * * * /etc/init.d/smb restart
```

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

0 comments on commit df28a4a

Please sign in to comment.