|
| 1 | +## orch-cli create schedule |
| 2 | + |
| 3 | +Creates a schedule configuration |
| 4 | + |
| 5 | +``` |
| 6 | +orch-cli create schedule [flags] |
| 7 | +``` |
| 8 | + |
| 9 | +### Examples |
| 10 | + |
| 11 | +``` |
| 12 | +# Create a new repeated schedule, an osupdate , using days of week |
| 13 | +orch-cli create schedules my-schedule --timezone GMT --frequency-type repeated --maintenance-type osupdate --target site-532d1d07 --frequency weekly --start-time "10:10" --day-of-week "1-3,5" --months "2,4,7-8" --duration 3600 |
| 14 | +
|
| 15 | +# Create a new repeated schedule, a maintenance , using days of month |
| 16 | +orch-cli create schedules my-schedule --timezone GMT --frequency-type repeated --maintenance-type maintenance --target site-532d1d07 --frequency monthly --start-time "10:10" --day-of-month "1,6,31" --months "2,4,7-12" --duration 3600 |
| 17 | +
|
| 18 | +# Create a new single schedule, an osupdate |
| 19 | +orch-cli create schedules my-schedule --timezone GMT --frequency-type single --maintenance-type osupdate --target region-65c0d433 --start-time "2026-12-01 20:20" --end-time "2027-12-01 20:20" |
| 20 | +
|
| 21 | +``` |
| 22 | + |
| 23 | +### Options |
| 24 | + |
| 25 | +``` |
| 26 | + -D, --day-of-month string Day of the month for repeated schedule: --day-of-month "1-4,31" |
| 27 | + -d, --day-of-week string Day of the week for repeated schedule: --day-of-week "mon,tue,wed,thu,fri,sat,sun" |
| 28 | + -u, --duration int Duration of the maintenance window in seconds: --duration 3600 |
| 29 | + -e, --end-time string End time of the schedule: --end-time "2025-12-15 14:00" |
| 30 | + -f, --frequency string Frequency of the schedule: --frequency daily|weekly|monthly |
| 31 | + -F, --frequency-type string Frequency of the schedule: --frequency-type single|repeated |
| 32 | + -h, --help help for schedule |
| 33 | + -H, --hour string Hour of the day for repeated schedule (0-23): --hour 2 |
| 34 | + -m, --maintenance-type string Type of maintenance: --maintenance-type maintenance|osupdate |
| 35 | + -M, --minute string Minute of the hour for repeated schedule (0-59): --minute 30 |
| 36 | + -x, --months string The months in which the schedule should run --months "1-2,12" |
| 37 | + -s, --start-time string Start time of the schedule: --start-time "2025-12-15 12:00" |
| 38 | + -T, --target string Target maintenance on a host|region|site using it's resource ID: --target host-abcd1234|region-abcd1234|site-abcd1234 |
| 39 | + -t, --timezone string Set time in particular timezone: --timezone Europe/Berlin |
| 40 | +``` |
| 41 | + |
| 42 | +### Options inherited from parent commands |
| 43 | + |
| 44 | +``` |
| 45 | + --api-endpoint string API Service Endpoint (default "https://api.orch-10-114-181-120.espdqa.infra-host.com") |
| 46 | + --debug-headers emit debug-style headers separating columns via '|' character |
| 47 | + -n, --noauth use without authentication checks |
| 48 | + -p, --project string Active project name (default "itep") |
| 49 | + -v, --verbose produce verbose output |
| 50 | +``` |
| 51 | + |
| 52 | +### SEE ALSO |
| 53 | + |
| 54 | +* [orch-cli create](orch-cli_create.md) - Create various orchestrator service entities |
| 55 | + |
| 56 | +###### Auto generated by spf13/cobra on 2-Oct-2025 |
0 commit comments