...
The JobScheduler can be controlled by commands (e.g. starting a jobs) from external applications (or scripts).
http://www.sos-berlin.com/doc/en/scheduler.doc/
More information of all available commands can be found here: Jetty/xml_commands.xml Command List]
The commands can be transferred to the JobScheduler via the following protocols:
- http
- https
- tcp
- udp
and telnet.
You can use JOC to send a command with using the URL
No Formatcode |
---|
http://[scheduler_host]:[scheduler_port]/<span stylh1. style="color:red;"><show_state/></span> |
or if you open JOC with [How_to_run_JobScheduler_with_Jetty then type
No Formatcode |
---|
http://[scheduler_host]:[jetty_port]/jobscheduler/engine-cpp/<span style="color:red;"><show_state/></span>
|
where <span stylh1. style="color:red;"><show_state/></span> is an example for a command of the JobScheduler external API.
You can use the startscript found in "./bin" to send a command too.
An example for using the command line option
No Formatcode |
---|
jobscheduler.sh command "<span style="color:red;"><show_state/></span>"
|
The answer of jobscheduler.sh command ... is without indent and newlines.
If you want a more readable answer then type
No Formatcode |
---|
jobscheduler.sh command "<span style="color:red;"><show_state/></span>" | sed -e 's;[^>]*$;;' | xmllint --format - |