opschain admin governance cadences create
Included from Basic tier
opschain admin governance cadences create --control <id|key> --schedule <cron> --campaign-kind <kind> [--grace <seconds>] [--disabled]
Creates a review cadence on a control
(GovernanceService.CreateReviewCadence). The schedule is a 5-field cron
expression evaluated on the scheduler leader tick; the command reports the
computed next-due time. Admin plane.
-o json / -o yaml emit the created cadence.
Flags
| Flag | Meaning |
|---|---|
--control <id|key> | The reviewed control (mandatory). |
--schedule <cron> | A 5-field cron expression (mandatory). |
--campaign-kind <kind> | The campaign kind a firing opens, e.g. access_review (mandatory). |
--grace <seconds> | How long past due a campaign may stay open before the lapse event fires. |
--disabled | Create the cadence disabled. |
Exit codes
| Code | Meaning |
|---|---|
| 0 | Created; the next-due time is reported. |
| 1 | Refused — the admin-floor refusal, an unknown control, or an invalid schedule (named by the server). |
| 2 | Usage error, including missing mandatory flags or a missing server target. |