X4 Produktdokumentation

Scheduler Configuration (Quartz)

The Scheduler uses the central worker thread pool. The Scheduler itself uses only one thread to place new tasks in the pool.

The scheduler settings can be adjusted in the quartz.properties file in the <server_directory>/configurations directory.

How to create the quarts.properties file

  1. Open an editor, such as Notepad++.

  2. Create a new file with the following content.

    org.quartz.jobStore.class=org.quartz.simpl.RAMJobStore
    org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread=true
    org.quartz.threadPool.threadCount=1
    
  3. Name the file quartz.properties and save it to the <Serververzeichnis>/configurations/ directory.

Note:

If the quartz.properties file exists, the default values are completely overwritten. All necessary properties must be contained in the file. Otherwise, the Scheduler cannot start.