OSDN Git Service

Regular updates
[twpd/master.git] / cron.md
diff --git a/cron.md b/cron.md
index 9c4d1c6..401faba 100644 (file)
--- a/cron.md
+++ b/cron.md
@@ -30,16 +30,27 @@ Min  Hour Day  Mon  Weekday
 ```
 {: .-setup.-box-chars}
 
+### Operators
+
+| Operator | Description                |
+| ---      | ---                        |
+| `*`      | all values                 |
+| `,`      | separate individual values |
+| `-`      | a range of values          |
+| `/`      | divide a value into steps  |
+
 ### Examples
 
-| Example        | Description           |
-| ---            | ---                   |
-| `0 * * * *`    | every hour            |
-| `*/15 * * * *` | every 15 mins         |
-| `0 */2 * * *`  | every 2 hours         |
-| `0 0 * * 0`    | every Sunday midnight |
-| ---            | ---                   |
-| `@reboot`      | every reboot          |
+| Example        | Description                 |
+| ---            | ---                         |
+| `0 * * * *`    | every hour                  |
+| `*/15 * * * *` | every 15 mins               |
+| `0 */2 * * *`  | every 2 hours               |
+| `0 18 * * 0-6` | every week Mon-Sat at 6pm   |
+| `10 2 * * 6,7` | every Sat and Sun on 2:10am |
+| `0 0 * * 0`    | every Sunday midnight       |
+| ---            | ---                         |
+| `@reboot`      | every reboot                |
 
 ### Crontab