Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-11682

Backend automatically adds a 0 at the beginning of cron expression for days-in-week-cron

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Scheduler
    • Labels:
      None
    • Rank:
      1|hzy13a:tmci

      Description

      When the user sets a cron expression that contains values for days in a week (e.g. "15 1 * * 1,2,3", or 1:15AM every Mon, Tues, Wed), and tries to deploy the pipeline, the deployment fails with an error showing "CronExpression '0 15 1 * * 1,2,3' is invalid,."

      The 0 is automatically added at the beginning of the cron expression, which makes it invalid.

        Attachments

          Activity

            People

            • Assignee:
              mao Chengfeng Mao
              Reporter:
              tbach Tony Bach
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: