Joshua Greenhalgh
04/25/2022, 10:29 AMCronSchedule("0 11 * * *")
to fire at 11 and not 12?Anna Geller
from 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))
Anna Geller
sched.next(10)
can help make sure your schedule is configured correctlyJoshua Greenhalgh
04/25/2022, 12:05 PMCronSchedule
perhaps?Anna Geller
schedule=CronSchedule(cron="0 11 * * *", timezone="Europe/Berlin"),
Joshua Greenhalgh
04/26/2022, 12:03 PMJoshua Greenhalgh
04/26/2022, 12:03 PMJoshua Greenhalgh
04/26/2022, 12:04 PMAnna Geller
Anna Geller
KubernetesFlowRunner
which is equivalent to KubernetesRun
run configuration.Joshua Greenhalgh
04/26/2022, 1:31 PMAnna Geller
Anna Geller
Olivér Atanaszov
05/04/2022, 10:22 AMjedi
05/24/2022, 2:59 PMAnna Geller
DeploymentSpec