瀏覽代碼

Updated cron example

Andrew Kane 8 年之前
父節點
當前提交
b840cd77ee
共有 1 個文件被更改,包括 9 次插入8 次删除
  1. 9 8
      README.md

+ 9 - 8
README.md

@@ -71,20 +71,21 @@ rake blazer:run_checks SCHEDULE="1 hour"
 rake blazer:run_checks SCHEDULE="1 day"
 ```
 
-Here’s what it looks like with cron.
-
-```
-*/5 * * * * * rake blazer:run_checks SCHEDULE="5 minutes"
-0   * * * * * rake blazer:run_checks SCHEDULE="1 hour"
-0   0 * * * * rake blazer:run_checks SCHEDULE="1 day"
-```
-
 You can also set up failing checks to be sent once a day (or whatever you prefer).
 
 ```sh
 rake blazer:send_failing_checks
 ```
 
+Here’s what it looks like with cron.
+
+```
+*/5 * * * * rake blazer:run_checks SCHEDULE="5 minutes"
+0   * * * * rake blazer:run_checks SCHEDULE="1 hour"
+30  7 * * * rake blazer:run_checks SCHEDULE="1 day"
+0   8 * * * rake blazer:send_failing_checks
+```
+
 ## Permissions
 
 ### PostgreSQL