airflow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Batista <>
Subject Changing the crontab for a DAG
Date Tue, 25 Oct 2016 09:42:36 GMT
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 
<> |  
|  NL 
<> |  
 |  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 prohibited.

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