@schedule
The @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.
ParametersÂ
hourly: bool
Run the workflow hourly (Default: False).
daily: bool
Run the workflow daily (Default: True).
weekly: bool
Run the workflow weekly (Default: False).
cron: str
Run the workflow at a custom Cron schedule specified by this expression.