Samples :: Scheduler

SimpleAcceptor

Description

This sample acts as a simple acceptor for other scheduler samples.

"SimpleAcceptor" application must be started first.

Directory Contents

Item Description
conf/sample/SimpleAcceptor.properties engine and application configuration file
conf/logback.xml logger configuration file

Usage

  • Run the sample:
    • win: 1-SimpleAcceptor.bat
    • linux: 1-SimpleAcceptor.sh
  • Clean everything:
    • win: clean.bat
    • linux: clean.sh

ProgramSchedulerSample

Description

The sample demonstrates how to configure session scheduler programatically.

This sample can be run together with the "SimpleAcceptor" app. The "SimpleAcceptor" must be started first.

Directory Contents

Item Description
conf/sample/ProgramScheduleSample.properties engine and application configuration file
conf/logback.xml logger configuration file

Usage

  • Run the sample:
    • win: 2-ProgramScheduleSample.bat
    • linux: 2-ProgramScheduleSample.sh
  • Clean everything:
    • win: clean.bat
    • linux: clean.sh

ProgramGenericScheduleSample

Description

This sample demonstrates how to create custom session schedule programatically.

"ProgramGenericScheduleSample" can be run together with the "SimpleAcceptor" app. The "SimpleAcceptor" must be started first.

Directory Contents

Item Description
conf/sample/ProgramGenericScheduleSample.properties engine and application configuration file
conf/logback.xml logger configuration file

Usage

  • Run the sample:
    • win: 2-ProgramGenericScheduleSample.bat
    • linux: 2-ProgramGenericScheduleSample.sh
  • Clean everything:
    • win: clean.bat
    • linux: clean.sh

FileSchedulerSample

Description

The sample demonstrates how to configure session scheduler using configuration file.

This sample can be run together with the "SimpleAcceptor" app. The "SimpleAcceptor" must be started first.

Directory Contents

Item Description
conf/sample/FileScheduleSample.properties engine and application configuration file
conf/sample/SchedulerSettings.xml scheduler configuration file
conf/logback.xml logger configuration file

Usage

  • Run the sample:
    • win: 2-FileScheduleSample.bat
    • linux: 2-FileScheduleSample.sh
  • Clean everything:
    • win: clean.bat
    • linux: clean.sh