General information
The TMS scheduler provides functionalities which are automatically executed on server side. Several processes in TMS are running repetitively in the TMS scheduler. Currently, the following services are combined:
- Sending of mails / test mail settings
- Synchronization of the full text search index
- Automatic file upload
- Upload file cleaner
- Planning Label creation
- Automatic planning label creation
- Cleanup of conflict decisions
- Clean up of resources / value list entries which are not used by data type "OWNED_OBJECTLIST"
The module can be configured by editing the file scheduler.properties. In following, we will document the settings which you might change. For other settings please leave them untouched except you are told otherwise by our support team.
Database settings
The database settings are shared by all background services. Generally speaking it is recommended not to set them in the configuration file, as they are already set by the .env when initially installing the application. However, it might make sense for the data pool size to adjust in some cases.
# hibernate connection pool size
hibernate.hikari.minimumIdle=1
hibernate.hikari.maximumPoolSize=10
Enabling / Disabling jobs
To enable or disable the diverse jobs simply comment / uncomment the regarding lines in the JobFactory definition. The example bewlow would activite all jobs except the cleanup for OwnedObjectLists.
#register all available job factories, split by comma
com.peaksolution.prp.scheduler.JobDefFactory=\
com.peaksolution.prp.scheduler.indexsynchronize.IndexSynchronizeJobDefFactory\
,com.peaksolution.prp.scheduler.autofileupload.AutoFileUploadJobDefFactory\
,com.peaksolution.prp.scheduler.autofileupload.AutoFileCleanerJobDefFactory\
,com.peaksolution.prp.scheduler.message.MessageJobDefFactory\
,com.peaksolution.prp.scheduler.message.TestMessageJobDefFactory\
,com.peaksolution.prp.scheduler.label.LabelJobDefFactory\
,com.peaksolution.prp.scheduler.autolabel.AutoLabelJobDefFactory\
,com.peaksolution.prp.scheduler.overcrowdperiod.IgnoreOvercrowdPeriodCleanerJobDefFactory\
#,com.peaksolution.prp.scheduler.ownedobject.OwnedObjectListCleanerJobDefFactory