@schedule decorator specifies the times when the flow should be run when deployed to an external orchestrator like AWS Step Functions or Argo Workflows.
For more information, see Scheduling Metaflow Flows.
from metaflow import schedule
Specifies the times when the flow should be run when running on a production scheduler.
hourly: bool, default: False
Run the workflow hourly.
daily: bool, default: True
Run the workflow daily.
weekly: bool, default: False
Run the workflow weekly.
cron: str, optional
Run the workflow at a custom Cron schedule specified by this expression.
timezone: str, optional
Timezone on which the schedule runs (default: None). Currently supported only for Argo workflows, which accepts timezones in IANA format.