Joshua Greenhalgh
04/25/2022, 10:29 AMCronSchedule("0 11 * * *")
to fire at 11 and not 12?Anna Geller
04/25/2022, 10:58 AMfrom prefect.schedules import CronSchedule
sched = CronSchedule(cron="0 11 * * *")
print(sched.next(10))
Here is how you can attach your timezone:
from prefect.schedules import CronSchedule
import pendulum
sched = CronSchedule(
cron="0 11 * * *",
start_date=pendulum.datetime(2022, 4, 25, 0, 0, tz="Europe/London"),
)
print(sched.next(10))
sched.next(10)
can help make sure your schedule is configured correctlyJoshua Greenhalgh
04/25/2022, 12:05 PMCronSchedule
perhaps?Anna Geller
04/25/2022, 12:08 PMschedule=CronSchedule(cron="0 11 * * *", timezone="Europe/Berlin"),
Joshua Greenhalgh
04/26/2022, 12:03 PMAnna Geller
04/26/2022, 12:10 PMKubernetesFlowRunner
which is equivalent to KubernetesRun
run configuration.Joshua Greenhalgh
04/26/2022, 1:31 PMAnna Geller
04/26/2022, 1:57 PMOlivér Atanaszov
05/04/2022, 10:22 AMjedi
05/24/2022, 2:59 PMAnna Geller
05/30/2022, 10:14 AMDeploymentSpec