You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ash Berlin-Taylor (JIRA)" <ji...@apache.org> on 2018/08/23 12:24:00 UTC

[jira] [Closed] (AIRFLOW-1748) Task is not being scheduled daily as expected in Airflow

     [ https://issues.apache.org/jira/browse/AIRFLOW-1748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ash Berlin-Taylor closed AIRFLOW-1748.
--------------------------------------
    Resolution: Cannot Reproduce

Can't reproduce this - if you are still having issues a better channel for support is the Gitter chat, or the Airflow mailing list.

> Task is not being scheduled daily as expected in Airflow
> --------------------------------------------------------
>
>                 Key: AIRFLOW-1748
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1748
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: DagRun
>         Environment: v1.8.0
>            Reporter: Di Zhu
>            Priority: Major
>
> A dag python file is defined as below:
> ```
> default_args = {
>     'owner': 'airflow',
>     'depends_on_past': False,
>     'start_date': datetime(2017, 10, 22, 11, 25),
>     'email': ['airflow@airflow.com'],
>     'email_on_failure': False,
>     'email_on_retry': False,
>     'retries': 0,
>     'retry_delay': timedelta(minutes=1),
>     # 'queue': 'bash_queue',
>     # 'pool': 'backfill',
>     # 'priority_weight': 10,
>     # 'end_date': datetime(2016, 1, 1),
> }
> dag = DAG('test_jason_1', default_args=default_args, schedule_interval="@daily")
> # t1, t2 and t3 are examples of tasks created by instantiating operators
> t1 = BashOperator(
>     task_id='print_date',
>     bash_command='echo "123" && exit 1',
>     dag=dag)```
> Current datetime from command line (same machine as where Airflow is installed) is:
> ```
> [ec2-user@ip-10-0-0-XXX print_date]$ date
> Mon Oct 23 11:24:06 UTC 2017
> ```
> but after 11:25:00, this job is still not scheduled accordingly. Could anyone help correct me if i'm wrong? Thanks a lot!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)