Skip to content

Commit 827e631

Browse files
committed
2018-07-09 补充 Crontab
1 parent 18fc87e commit 827e631

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

markdown-file/Crontab.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
- ![Crontab 服务器配置文件常用参数](../images/Crontab-a-1.jpg)
3232
- 常用例子介绍:
3333
- `30 21 * * * service httpd restart` #每晚的 21:30 重启 apache
34+
- `30 21 * * 6,0 service httpd restart` #每周六、周日的 21:30 重启 apache
3435
- `45 4 1,10,22 * * service httpd restart` #每月的 1、10、22 日的 4:45 重启 apache
3536
- `45 4 1-10 * * service httpd restart` #每月的 1 到 10 日的 4:45 重启 apache
3637
- `*/2 * * * * service httpd restart` #每隔两分钟重启 apache

0 commit comments

Comments
 (0)