You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/03/23 13:29:50 UTC

[GitHub] [airflow] emukans commented on issue #13692: task failed with a null hostname

emukans commented on issue #13692:
URL: https://github.com/apache/airflow/issues/13692#issuecomment-804903679


   I noticed the same issue on airflow 2.0.1 when I used cron notation for specifying schedule_interval. Here is my DAG:
   ```
   DAG(
           "id",
           default_args=default_args,
           description="description",
           schedule_interval="0 14 * * *",
           start_date=datetime(2021, 3, 23)
       )
   ```
   I wanted to specify the time. I solved the issue by using DateTimeSensor or TimeSensor and changing `schedule_interval="@daily"`


-- 
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:
users@infra.apache.org