potiuk commented on issue #13788:
URL: https://github.com/apache/airflow/issues/13788#issuecomment-763609646


   I think this one might be difficult before switching (or rather enabling) 
suport for "regular" cron behaviour. Airflow does NOT work like cron even if 
the specification is cron-like. Airflow works on "data intervals" rather than. 
on CRON schedule. It means that the time specified in DAG is not the schedule, 
but rather indication which data interval Airflow should work on. It indicates 
the "beginnin" of the data interval each run should work on. This mean tha 
Airflow starts at midnight finishing Monday if you want to process Monday's 
data.
   
   This is not intuitive and we discuss if it should be allowed to run "cron 
jobs" regularly. And while I can imagine H () might be used there as well it is 
gonna be even more confusing (as the data interval should still be covering 
full day till midnight even if the job starts 15 minutes later. For me having a 
"random delay" in the DAG definition as separate parameter would be better.
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to