jcozar
02/07/2023, 1:19 PMChristopher Boyd
02/07/2023, 1:30 PMjcozar
02/07/2023, 1:46 PMschedule = Schedule(
# everyday at 8:30 am (Europe/Madrid)
clocks=[
CronClock("30 8 * * 1-5", start_date=pendulum.datetime(2021, 1, 1, tz="Europe/Madrid")),
# for saturays sent on monday (10 minutes before than monday mail)
CronClock("20 8 * * 1", start_date=pendulum.datetime(2021, 1, 1, tz="Europe/Madrid"), parameter_defaults={"subtract_days": 2}),
# for sundays sent on monday (5 minutes before than monday mail)
CronClock("25 8 * * 1", start_date=pendulum.datetime(2021, 1, 1, tz="Europe/Madrid"), parameter_defaults={"subtract_days": 1}),
]
)
jcozar
02/07/2023, 1:48 PMChristopher Boyd
02/07/2023, 1:52 PMjcozar
02/07/2023, 2:05 PMBring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.
Powered by