airflow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manning, Kieran (Consultant)" <>
Subject RE: Changing the crontab for a DAG
Date Tue, 25 Oct 2016 10:23:15 GMT
Hi all,

Sorry to piggyback on this question thread but I have something similar. We need to be able
to schedule daily DAG runs with a configurable start time.

Whatever start_date I provide, the actual start time seems to be set at midnight when the
schedule is set to daily.

Is there a means to change this?


-----Original Message-----
From: []
Sent: Tuesday, October 25, 2016 11:10 AM
To: David Batista <>;
Subject: RE: Changing the crontab for a DAG

Hi David,

For me worked:
1. Disable the DAG
2. Refresh
3. Edit the schedule_interval
4. Refresh the DAG
5. Enable

You also should edit the start_date to avoid backfilled runs.



From: David Batista
Sent: Tuesday, October 25, 2016 11:48 AM
Subject: Changing the crontab for a DAG

Hi everyone,

Just a quick question, if you have a running DAG (i.e., runs daily for instance), and at a
certain point you want to update the crontab, for instance, change the hour on which it runs.

Usually, want I do, is to clear all the past tasks with the old crontab, and update the the
start_date of the DAG, to be equal to the day when the the hour changed.

Nevertheless, sometimes, it happens that the DAG starts running with the old hour (before
the change)

What is the best way to deal with this, changing, let's say the hour, for a running a DAG?

Best regards,
David Batista


[image: logo]
  <>   <>
   <>   <>

*HelloFresh App –Download Now!*
*We're active in:*
US <>
 |  DE
<> | UK <>
|  NL
<> | AU <>
 |  BE
<> | AT <>
|  CH
<> | CA <>

We are hiring around the world – Click here to join us <>


HelloFresh AG, Berlin (Sitz der Gesellschaft) | Vorstände: Dominik S.
Richter (Vorsitzender), Thomas W. Griesel, Christian Gärtner | Vorsitzender des Aufsichtsrats:
Jeffrey Lieberman | Eingetragen beim Amtsgericht Charlottenburg, HRB 171666 B | USt-Id Nr.:
DE 302210417

*CONFIDENTIALITY NOTICE:* This message (including any attachments) is confidential and may
be privileged. It may be read, copied and used only by the intended recipient. If you have
received it in error please contact the sender (by return e-mail) immediately and delete this
message. Any unauthorized use or dissemination of this message in whole or in parts is strictly

Please note this email message has been sent to you by a third-party contractor or consultant
engaged by RenaissanceRe Services Ltd. or one of its affiliates (collectively "the Company").
Please note this party has no authority to bind the Company in any respect, contractually
or otherwise. For your protection, you should only ever accept instructions which would bind
the Company from a direct employee of the Company. Third-party contractors or consultants
are not granted such authority.
View raw message