Parameters
str
required
Name of the automation to create.
CronTask
required
Task to run when the automation is triggered.
str | list[str]
required
Cron schedule or schedules that trigger the automation.
ClusterSlugLike | None
Cluster to run the task on. If not provided, the default cluster is used.
int
Maximum number of retries for the task. Defaults to
0.