Preriodical routine run controller.
java com.ngMAT.tools.PeriodicalRoutineRunController <propfilename> [<command>];
name | required | default | description |
Log | | stdout | log filename |
Debug | | false | true/false |
Debug.Log | | NA | debug log filename |
ExitOnError | | false | true/false |
Monitor.Command.File.Name | | NA | When this value is set, the specified file exists and that file contains the string "stop" as the first line, all runners will be stopped. |
Monitor.Command.File.DeleteAfterRead | | true | true/false. If true, the command file will be deleted after the monitor thread reads the command file. |
Monitor.Port | | 9876 | command monitor port. If the value is -1, monitor will not listen on the socket. Following commands will be accepted : "status" / "stop" / "quit" / "bye". |
Runner.<alias>.Class | * | NA | runner class name. DO NOT use "#" as the first character of the alias name. |
Runner.<alias>.Interval | | 60 | execution interval seconds |
Runner.<alias>.InterruptOnStop | | true | true/false. If true, the runner thread will be interrupted on stopping. |
Runner.<alias>.SuspendOnException | | false | true/false. If true, the runner thread will be suspended with exceptions caught in the controller. |
Runner.<alias>.RunGCAfterProcess | | false | true/false. If true, will execute gc after every runner process. |
Runner.<alias>.LogMemoryInfo | | false | true/false. If true, memory usage info will be written into log before/after every runner process. |
Runner.TimingChecker | | NA | The class name of timing checker. This class must implements PeriodicalRoutineRunnerTimingChecker
and will check whether it is time to run before the runner will run. |