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

Cron description displays the wrong weekday

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Low
    • Resolution: Done
    • 5.6.15, 5.6.16
    • 5.7.1
    • None
    • None
    • SR4J Sprint 72
    • 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

        Activity

          People

            twozniak Tomasz Wozniak [X] (Inactive)
            lwonnacott Lee Wonnacott
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: