2.0.0b35
Cron
Package: flyte
This class defines a Cron automation that can be associated with a Trigger in Flyte. Example usage:
from flyte.trigger import Trigger, Cron
my_trigger = Trigger(
name="my_cron_trigger",
automation=Cron("0 * * * *"), # Runs every hour
description="A trigger that runs every hour",
)class Cron(
expression: str,
timezone: Timezone,
)| Parameter | Type | Description |
|---|---|---|
expression |
str |
|
timezone |
Timezone |
Properties
| Property | Type | Description |
|---|---|---|
timezone_expression |
None |