There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-447f7f92-9762-4625-9563-d31e98fd90ad XWIKI-21673 Open

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

 
View issue   ยท   Add comment
 

1 update

 
cid:jira-generated-image-avatar-55f524ae-b78a-45f0-864a-2bd4843986dd Changes by Thomas Mortagne on 17/Feb/26 12:18
 
Description: h1. Reproduction
# create a job in the scheduler application, make it change the content of a page to "foo" for instance
# schedule this job
# trigger it
# the page content is changed to "foo"
# edit the job script to have the content changed to "bar"
# trigger the job
# the page content is still "foo"

h1. Problem

The new code of the job is not registered until the job is unscheduled and
the scheduled again.
h1. 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