rebase.Cron
Define cron schedules for workflows.
Signature
rb.Cron(cron: str, *, timezone: str | None = None, day_or: bool = True, active: bool = True)Parameters
| Parameter | Type | Description |
|---|---|---|
cron | str | Five-field cron expression. |
timezone | `str | None` |
day_or | bool | Cron day matching behavior. |
active | bool | Whether the schedule should be active. |
Methods
cron.to_dict() -> dict[str, Any]
