Uploaded image for project: 'Automation for Jira Server'
  1. Automation for Jira Server
  2. JIRAAUTOSERVER-293

CRON expression to consider seconds on Automation

XMLWordPrintable

    • 0
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Issue Summary

      When trying to create a CRON expression to start at the second 00 and run every 10 minutes (using the SCHEDULED trigger), A4J seems to ignore the first 0 in the expression and starts at a different second than 0.

      Steps to Reproduce

      1. Create a rule and set the trigger to SCHEDULED by the below CRON expression
      2. Add a CRON expression that should start in 0 seconds

      Expected Results

      • e.g CRON to run every 10 minutes, starting from the 0 seconds (0 0/10 * * * ? *)
      • 8:00:00 pm
      • 8:10:00 pm
      • 8:20:00 pm

      Actual Results

      • Automation seems to ignore the first 0 in the expression
      • 8:00:51 pm
      • 8:10:51 pm
      • 8:20:51 pm

              Unassigned Unassigned
              065e0c332dd4 Michel (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: