You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jack (Jira)" <ji...@apache.org> on 2019/10/03 06:28:00 UTC

[jira] [Commented] (AIRFLOW-5394) Invalid schedule interval issues

    [ https://issues.apache.org/jira/browse/AIRFLOW-5394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16943362#comment-16943362 ] 

jack commented on AIRFLOW-5394:
-------------------------------

Cron validation was introduced in [https://github.com/apache/airflow/pull/3698] by [~xddeng]

> Invalid schedule interval issues
> --------------------------------
>
>                 Key: AIRFLOW-5394
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5394
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: DagRun, scheduler
>    Affects Versions: 1.10.2
>            Reporter: Shreyash hisariya
>            Priority: Major
>
> I am facing issues with using schedule interval of Airflow. Since there is no documentation at all, it took me few days to find that the cron expression accepts only 5 or 6 fields.
> Even with 5 or 6 fields, the dag is failing at multiple times. 
> *For example : Invalid Cron expression: [0 15 10 * * ?] is not acceptable* 
> The above cron is valid but the airflow doesn't accept it.
>  # Can you please put up a documentation of what is valid and what not is valid? 
>  # Why does airflow doesn't take more than 6 fields?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)