iremonur edited a comment on issue #15192:
URL: https://github.com/apache/airflow/issues/15192#issuecomment-813236049


   Actually, I tried to schedule another task to be 10 minutes between each 
other, I want the first task to start at 19:50.
   In the dag code (located in ~/airflow/dags/tutorial_v2.py), I set:
   -> start_date=datetime.datetime(2021, 4, 4, 19, 50)
   -> schedule_interval= '*/10 * * * *'
   Some of the parameters I set in the dag code :
   default_args = {
   'owner': 'airflow',
   'depends_on_past': False,
   'wait_for_downstream' : False,
   'email': ['[email protected]'],
   'email_on_failure': False,
   'email_on_retry': False,
   'retries': 1,
   'retry_delay': timedelta(minutes=5),
   }
   
   I run these commands to schedule the dag:
   $ python ~/airflow/dags/tutorial_v2.py
   $ airflow db init
   $ airflow dags backfill tutorial_v2 -s 2021-04-04-19:50 -e 2021-04-06
   Some of the tasks at the beginning are stuck in the state of "running" :
   ![Screenshot from 2021-04-05 
10-07-44](https://user-images.githubusercontent.com/47700082/113547538-c97f7900-95f6-11eb-9cf7-34eba7ce6df4.png)
   
   I don't understand why the scheduler skip some of the tasks, I would be very 
glad if you help me with this.
   
   Apache Airflow version: v2.0.1
   Kubernetes is not used.
   I use the SequentialExecutor.
   
   Environment:
   
   GPU : NVIDIA Quadro K3100M
   OS: Ubuntu 18.04
   Python 3.7.3


-- 
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