Skip to content

Commit

Permalink
2018-07-09 补充 Crontab
Browse files Browse the repository at this point in the history
  • Loading branch information
judasn committed Jul 9, 2018
1 parent 18fc87e commit 827e631
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions markdown-file/Crontab.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
- ![Crontab 服务器配置文件常用参数](../images/Crontab-a-1.jpg)
- 常用例子介绍:
- `30 21 * * * service httpd restart` #每晚的 21:30 重启 apache
- `30 21 * * 6,0 service httpd restart` #每周六、周日的 21:30 重启 apache
- `45 4 1,10,22 * * service httpd restart` #每月的 1、10、22 日的 4:45 重启 apache
- `45 4 1-10 * * service httpd restart` #每月的 1 到 10 日的 4:45 重启 apache
- `*/2 * * * * service httpd restart` #每隔两分钟重启 apache
Expand Down

0 comments on commit 827e631

Please sign in to comment.