Include cron examples for schedule creation

Signed-off-by: Josh Hull <josh.hull@lypht.com>
This commit is contained in:
Josh Hull
2018-02-28 16:50:52 -06:00
parent 530e22939d
commit f733869142
3 changed files with 45 additions and 5 deletions
+16 -2
View File
@@ -5,10 +5,24 @@ Create a schedule
### Synopsis
Create a schedule
The --schedule flag is required, in cron notation:
| Character Position | Character Period | Acceptable Values |
| -------------------|:----------------:| -----------------:|
| 1 | Minute | 0-59,* |
| 2 | Hour | 0-23,* |
| 3 | Day of Month | 1-31,* |
| 4 | Month | 1-12,* |
| 5 | Day of Week | 0-7,* |
```
ark create schedule NAME [flags]
ark create schedule NAME --schedule [flags]
```
### Examples
```
ark create schedule NAME --schedule="0 */6 * * *"
```
### Options
+16 -2
View File
@@ -5,10 +5,24 @@ Create a schedule
### Synopsis
Create a schedule
The --schedule flag is required, in cron notation:
| Character Position | Character Period | Acceptable Values |
| -------------------|:----------------:| -----------------:|
| 1 | Minute | 0-59,* |
| 2 | Hour | 0-23,* |
| 3 | Day of Month | 1-31,* |
| 4 | Month | 1-12,* |
| 5 | Day of Week | 0-7,* |
```
ark schedule create NAME [flags]
ark schedule create NAME --schedule [flags]
```
### Examples
```
ark create schedule NAME --schedule="0 */6 * * *"
```
### Options