Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-17008

Task Does Not Run (Again) if it Overruns into Next Run Time

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.10.0
    • Fix Version/s: 3.13.0
    • Component/s: Scheduled Tasks
    • Labels:
    • Story Points:
      3

      Description

      If a scheduled task overruns into its 'Next Run' time, the 'Next Run' time is not updated and the task does not run again.

      To reproduce:
      1. Configure an 'Execute Script' task with the attached script. It is coded to run for ~5minutes.
      2. Configure a cron expression for the task frequency so that it runs every 2 minutes i.e. 0 0/2 * 1/1 * ? *

      As the task runs for 5 minutes, it goes past its next run time which does not get updated and the task does not run after its first run.

        Attachments

          Activity

            People

            Assignee:
            jbryan Jeremy Bryan
            Reporter:
            hardeepn Hardeep Nagra
            CC:
            João França
            Last Updated By:
            Peter Lynch
            Team:
            Nexus - Core
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title