You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a DAG that I want to run every day at 9h10, 10h30 and 11h10.
As far as I know, this is not possible with a cron expression.
The EventsTimetable sounds pretty much like what I want, but it requires datetimes and as the documentation explains, you should only have a relatively small list of events.
So instead, it would be nice to have the same, but with times only, e.g.
@dag(
schedule=EventsTimeTimetable(
event_dates=[
pendulum.time(9, 10),
pendulum.time(10, 30),
pendulum.time(11, 10),
],
description="My awesome time event schedule",
restrict_to_events=False,
),
...,
)```
Is this already doable or should this be a new feature request?
I'm trying to implement it as a plugin, but I find custom timetables very confusing to develop.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a DAG that I want to run every day at 9h10, 10h30 and 11h10.
As far as I know, this is not possible with a cron expression.
The EventsTimetable sounds pretty much like what I want, but it requires datetimes and as the documentation explains, you should only have a relatively small list of events.
So instead, it would be nice to have the same, but with times only, e.g.
Beta Was this translation helpful? Give feedback.
All reactions