Scheduled Processes
Several processes are regularly handled in the background. To schedule a process, the following conditions must be met:
- activated scheduler in the relevant configuration file (e.g. transactionConsumerProvider.properties)
- entry in scheduler.properties
Configuration file e.g. transactionConsumerProvider.properties:
# Activation configuration
scheduler.enabled=true
#
# Job configuration
scheduler.serviceComponent=transaction-work-producer
scheduler.service=transactionWorkRequestProducer.checkTransactionGroupWorkRequests()
#
scheduler.threadCount=1
scheduler.tenantIteration=true
#
# Trigger configuration
scheduler.cronExpression=0/2 * * * * ?
#
# Trigger misfire instruction - MISFIRE_INSTRUCTION_DO_NOTHING
scheduler.triggerMisfireInstruction=2
Configuration file scheduler.properties:
# JMX
#
core.scheduler.mbean-name=com.gk-software.gkr.pos-server:type=Scheduler
scheduler.1=scheduler/transactionConsumerProvider.properties
scheduler.2=scheduler/loginManager.properties
scheduler.3=scheduler/reportExportRequestProducer.properties
scheduler.4=scheduler/reorganizationProcessor.properties
scheduler.5=scheduler/autoDayEndClosingWorkRequestProducer.properties
scheduler.6=scheduler/reportProcessingRequestProducer.properties
scheduler.7=scheduler/invoiceNumberGenerator.properties
scheduler.8=scheduler/scheduler-event-log-reorganization.properties
scheduler.9=scheduler/layawayAgent.properties