Configure the scheduler service
There is a distinction between the configuration of the scheduler service, and the configuration of individual scheduled tasks and events. The scheduler configuration has the following format, and configures the Quartz Scheduler:
{
"threadPool" : {
"threadCount" : 10
},
"scheduler" : {
"executePersistentSchedules" : {
"$bool" : "&{openidm.scheduler.execute.persistent.schedules}"
}
}
}
-
threadCount
specifies the maximum number of threads that are available for running scheduled tasks concurrently. -
executePersistentSchedules
lets you disable persistent schedules for a specific node. If this parameter is set tofalse
, the Scheduler Service will support the management of persistent schedules (CRUD operations) but it will not run any persistent schedules. The value of this property can be a string or boolean. Its default value (set inresolver/boot.properties
) istrue
. -
advancedProperties
(optional) lets you configure additional properties for the Quartz Scheduler.
For details of all the configurable properties for the Quartz Scheduler, see the Quartz Scheduler Configuration Reference.