Skip to main content
Version: v5.6.1

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​

FlagMeaning
--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.
--disabledCreate the cadence disabled.

Exit codes​

CodeMeaning
0Created; the next-due time is reported.
1Refused — the admin-floor refusal, an unknown control, or an invalid schedule (named by the server).
2Usage error, including missing mandatory flags or a missing server target.