GitHub user kolok created a discussion: Weekly planed DAGs aren't launched

### Apache Airflow version

2.11.0

### If "Other Airflow 2 version" selected, which one?

_No response_

### What happened?

Hello

## Issue using daily crontab DAG

The weekly crontag DAG `0 1 * * 1` which should be launched every monday aren't 
launched
It is well displayed on the interface which explains that it will be launched 
next monday at 01:00

<img width="1540" height="350" alt="Image" 
src="https://github.com/user-attachments/assets/feae86cb-ded5-4a99-89f3-4ce8825d1cc5";
 />

but it is never launched.

I test with daily crons `0 1 * * *` and it works well

## details of the configuration

I am using Airflow 2.11 from official docker images : 
https://hub.docker.com/r/apache/airflow
I use it with a webserver and a scheduler (no workers), dags are executed by my 
scheduler
here is my configuration :

```
AIRFLOW__API__AUTH_BACKENDS="airflow.api.auth.backend.basic_auth,airflow.api.auth.backend.session"
AIRFLOW__CORE__DAGS_ARE_PAUSED_AT_CREATION="true"
AIRFLOW__CORE__ENABLE_XCOM_PICKLING="true"
AIRFLOW__CORE__EXECUTOR="LocalExecutor"
AIRFLOW__CORE__FERNET_KEY=""
AIRFLOW__CORE__LOAD_EXAMPLES="false"
AIRFLOW__DATABASE__SQL_ALCHEMY_CONN=…
AIRFLOW__LOGGING__ENCRYPT_S3_LOGS="false"
AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDER=…
AIRFLOW__LOGGING__REMOTE_LOG_CONN_ID="scalewaylogs"
AIRFLOW__LOGGING__REMOTE_LOGGING="true"
AIRFLOW__SCHEDULER__ENABLE_HEALTH_CHECK="true"
AIRFLOW__WEBSERVER__EXPOSE_CONFIG="true"
…
```

Perhaps I missed a configuration or a details in the documentation but I didn't 
find my answer in the doc or in an other issue.

Thank you for your help,
Cheers

Nicolas

### What you think should happen instead?

I expect that weekly crontag DAG `0 1 * * 1` is launched every Monday at 01:00

### How to reproduce

Create a weekly crontag DAG `0 1 * * 1`

```
with DAG(
    "test_weekly_crontab_dag",
    …
    schedule="0 1 * * 1",
) as dag:
    …
```

At wait it is automatically launched by the scheduler : it isn't.

It doesn't work for every hours:minutes on my side

### Operating System

ubuntu/docker

### Versions of Apache Airflow Providers

apache-airflow-providers-postgres = "^6.2.2"

### Deployment

Docker-Compose

### Deployment details

Reproduce locally with docker-compose and on CaaS (Scaleway and cleverCloud)

### Anything else?

Just thank you for reading

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


GitHub link: https://github.com/apache/airflow/discussions/54369

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to