spiremak opened a new issue #21291:
URL: https://github.com/apache/airflow/issues/21291


   ### Apache Airflow version
   
   2.2.3 (latest released)
   
   ### What happened
   
   I have tried to schedule a dag to run every 5 mins. However at time 10:57am 
the dag looks like the below and I would have assumed the dag should have been 
triggered.
   
![image](https://user-images.githubusercontent.com/96873357/152330551-3b9dfa96-ecea-4f30-acc3-3854adebc884.png)
   
   And then at 11:02 am I can see the the next run information has changed but 
the dag still hasn't run
   
![image](https://user-images.githubusercontent.com/96873357/152330780-ced4692b-dd6c-48e3-a9b8-d778a6240c12.png)
   
   This is the code used to create the dag
   ```
   with DAG("my_dag",start_date=datetime(2021, 1 ,1),schedule_interval= '*/5 * 
* * *',
            catchup = False) as dag:`
       task1 = BashOperator(task_id = 'test', bash_command = 'echo "hello"')
    ```
   
   
   ### What you expected to happen
   
   I expect the dag to run or at least log errors in the scheduler logs
   
   ### How to reproduce
   
   Create a new dag with a scheduling interval which isn't none
   
   ### Operating System
   
   Amazon Linux 2
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Virtualenv installation
   
   ### Deployment details
   
   _No response_
   
   ### Anything else
   
   Using MySQL 8.0.23.
   
   
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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

To unsubscribe, e-mail: [email protected]

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


Reply via email to