-
Bug
-
Resolution: Fixed
-
Critical
-
2.2, 2.3
-
-
Empty show more show less
-
Yes
-
6.2 Ramp-up 17, 6.2 Ramp-up 18
-
8
Steps to reproduce:
- add scheduler job by code
import info.magnolia.module.scheduler.JobDefinition; import info.magnolia.module.scheduler.SchedulerModule; import info.magnolia.objectfactory.Components; import info.magnolia.module.ModuleRegistry; ModuleRegistry mod = Components.getComponent(ModuleRegistry.class); SchedulerModule sch = mod.getModuleInstance("scheduler"); JobDefinition j = new JobDefinition("test", "default", "activate", "0 0/1 * 1/1 * ? *", null); sch.addJob(j);
- job is registered
- change the scheduler module configuration
- module is restarted and N2B mechanism initializes all the jobs defined in JCR
- which wipes out all the jobs registered by the code
Acceptance criteria
- is depended upon by
-
ABTEST-90 Schedule a test when start date is set
- Closed
-
ABTEST-101 Schedule a test when start date is set
- Closed
- relates to
-
TASKMGMT-38 Scheduler discards all scheduled publications on restart
- Closed
-
TASKMGMT-34 "The Scheduler has been shutdown" error after modifying scheduler's configuration
- Closed
(1 mentioned in)