Uploaded image for project: 'Scheduler'
  1. Scheduler
  2. MGNLSCH-53

Scheduler does not release its running jobs on shutdown

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 2.1.2
    • None

    Description

      When fixing MGNLRSSAGG-188 i've run into issues with scheduled jobs that were not stopped and Magnolia instance couldn't be shut down properly.

      This is probably due to scheduler.shutdown(true); in stop() method in SchedulerModule class. Here is part of the javadoc of shutdown method:

       * @param waitForJobsToComplete
       *          if <code>true</code> the scheduler will not allow this method
       *          to return until all currently executing jobs have completed.
      

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              jsimak Jaroslav Simak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD