Uploaded image for project: 'SR Platform'
  1. SR Platform
  2. SRPLAT-962

Cron description displays the wrong weekday

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: 5.6.15, 5.6.16
    • Fix Version/s: 5.7.1
    • Component/s: None
    • Labels:
      None
    • Sprint:
      SR4J Sprint 72
    • Critical Points:
      0.7

      Description

      Steps to Reproduce

      • Create a scheduled job 
      • Add a Cron expression that uses a numerical value to determine the day e.g. 
        0 00 09 ? * 1
      • Observe that the Cron description displays "At 9:00 AM, only on Monday"
      • Add a simple log.warn 'test' script to execute when the job is triggered
         
      Expected Outcome

      The job will run on Monday at 9 am

      Actual Outcome

      The job will run on Sunday at 9 am 

      Intermittent?

      False

      Affected Versions

      ScriptRunner for Confluence: 5.6.16
      ScriptRunner for Jira 5.6.15

       

        Attachments

          Structure

            Activity

              People

              Assignee:
              twozniak Tomasz Wozniak
              Reporter:
              lwonnacott Lee Wonnacott
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Structure Helper Panel