How to set a Cron Schedule in Python
You can set each Workflow to repeat on a schedule with the cron_schedule
option from either the start_workflow()
or execute_workflow()
asynchronous methods:
await client.start_workflow(
"your_workflow_name",
id="your-workflow-id",
task_queue="your-task-queue",
cron_schedule="* * * * *",
)