Hi folks,

I recently asked this question on gitter but didn't get any feedback.

Anyone know if there is a way to get the scheduler to reverse the order of
the dag runs? By default a new DAG starts at start_date then moves
sequentially forward in time until it is caught up (assuming catchup=True).
The same is true for a new DAG just enabled, or a DAG that is cleared, and
for a backfill.

The behavior I'd like to get is for the scheduler to queue up the latest
available, so it starts most recent, then moves back in time. If while the
backfill is running a more recent DAG run is eligible, that one should be
queued next.

Is there anyway to accomplish this?  Is this a feature that others would
find useful?

For some background, I have some jobs that make predictions and do a long
backfill for historical backtesting, and that can mean no new predictions
for a week depending on the job and the time to backfill.  Ideally the most
recent jobs would take precedence over the historical jobs.

thanks,
Dennis

Reply via email to