iremonur opened a new issue #15192:
URL: https://github.com/apache/airflow/issues/15192


   Hi,
   
   I am trying to schedule 4 tasks to be 10 minutes between each other. In the 
dag code (located in ~/airflow/dags/example_v6.py), I set the 
   -> start_date=datetime.datetime(2021, 4, 4, 19, 20)
   -> schedule_interval= '*/10 * * * *'
   I'm trying to schedule 4 tasks with 10 minutes between them, I want the 
first task to start at 19:20.
   The first task is succeeded but the other three of them are stuck in the 
state of "running".
   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/example_v6.py
   $ airflow db init
   $ airflow dags backfill dag_v6 -s 2021-04-04-19:20 -e 2021-04-04-19:50
   
   I got these messages from the terminal:
   ![Screenshot from 2021-04-04 
22-44-39](https://user-images.githubusercontent.com/47700082/113519924-239d2180-9598-11eb-9df6-b6dfb698feb6.png)
   
   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
   
   At the UI, the tasks are listed as:
   ![Screenshot from 2021-04-04 
22-49-25](https://user-images.githubusercontent.com/47700082/113519910-0bc59d80-9598-11eb-9351-7ede519aad97.png)
   
   I would be very glad if you help me with this.
   


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