airflow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Maritato <fmarit...@opentable.com.INVALID>
Subject backfill when schedule is a cron entry
Date Thu, 11 Jul 2019 19:07:30 GMT
Hi All,

I have a dag with a schedule_interval that is a cron entry:

args = {
    'owner': 'airflow',
    'depends_on_past': False,
    'provide_context': True,
    'start_date': airflow.utils.dates.days_ago(1),
    'on_failure_callback': slack_failure_callback,

}

dag = DAG(
    DAG_NAME,
    default_args=args,
    dagrun_timeout=timedelta(hours=2),
    schedule_interval="30 1 * * *",
)

and when I try to run

airflow backfill -s '2019-07-10' myjob

I get the following message:

[2019-07-11 12:00:28,213] {jobs.py:2447} INFO - No run dates were
found for the given dates and dag interval.

If my job's schedule_interval is @daily or something like that, I'm able to
run the backfills as I expect. Is there a way to do this or am I going
about this wrong?
-- 
Frank Maritato

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message