rebase.Cron

Define cron schedules for workflows.

Signature

rb.Cron(cron: str, *, timezone: str | None = None, day_or: bool = True, active: bool = True)

Parameters

ParameterTypeDescription
cronstrFive-field cron expression.
timezone`strNone`
day_orboolCron day matching behavior.
activeboolWhether the schedule should be active.

Methods

cron.to_dict() -> dict[str, Any]

On this page