Uploaded image for project: 'SR for Confluence - Development'
  1. SR for Confluence - Development
  2. SRCONF-1407

Script Jobs - Not starting after restart

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: 6.6.0, 6.5.0-p5
    • Fix Version/s: 6.11.0
    • Component/s: None
    • Labels:
    • Sprint:
      SR4C Sprint 143, SR4C Sprint 144, SR4C Sprint 145
    • Critical Points:
      1

      Description

      Steps to Reproduce

      1. Navigate to the "Confluence Administration screen" and select the "Script Jobs" menu
      2. Click the "Add New Item" button and select "Custom Scheduled Job"
      3. Use the following settings for the Job

      • User Key: Select any user...
      • Note: "Test"
      • Inline Script:
      log.warn("A logging event has occurred")
      
      • Cron Expression:
       0 0/1 * 1/1 * ? *
      

      Note: This will run every minute

      4. Click "Add"
      5. Watch for the log message in the log.
      6. Restart the Confluence instance.
      7. Navigate to the "Confluence Administration Screen" and select the "Script Jobs" menu.

       

      Expected Outcome

      The job should run every minute with no errors or exceptions. The "Next Run" output on the Script Jobs list screen should display "In a few seconds".

      Actual Outcome
      • The next run value displays 'unscheduled job'¬†
      • The script is not running¬†(check the logs to validate that we aren't seeing output from the job)

      Intermittent?

      False

      Affected Versions

      Plugin Confluence
      7.4.1 => 6.5.0-p5 => 6.6.0

      Workaround

      1. Click the gear menu next to any one of the jobs
      2. Click "Disable"
      3. Click "Enable

        Attachments

          Structure

            Activity

              People

              Assignee:
              aderossett Aidan Derossett
              Reporter:
              lwonnacott Lee Wonnacott
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Structure Helper Panel