Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-21673

Scheduler: The modifications of a job script is not used before being re-scheduled

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • 13.10.3, 15.9
    • Scheduler
    • Unknown

    Description

      Reproduction

      1. create a job in the scheduler application, make it change the content of a page to "foo" for instance
      2. schedule this job
      3. trigger it
      4. the page content is changed to "foo"
      5. edit the job script to have the content changed to "bar"
      6. trigger the job
      7. the page content is still "foo"

      Problem

      The new code of the job is not registered until the job is unscheduled and the scheduled again.

      Suggestion of improvement

      • Display a warning on the scheduler application home, mentioning that the job script has been edited but is not used, to convey this problem to the user
      • OR re-schedule the job automatically

      Attachments

        Activity

          People

            Unassigned Unassigned
            mpace Mathieu Pace
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: