...
Code Block | ||
---|---|---|
| ||
<job > <params /> <environment /> <script language="shell"> <![CDATA[ /path/to/my_executable my_param ]]> </script> <run_time /> </job> |
You can download a converter "process2script.xsl".
Extract the archive i.e. in the ./config directory of the JobScheduler installation.
The call it ...
- ...on Windows with
Code Block |
---|
java -jar /path/to/saxon9he.jar -xsl:"process2script.xsl" -s:"live/a.job.xml" -o:"live/a.job.xml" is_windows=true
|
- ...on Linux with
Code Block |
---|
java -jar /path/to/saxon9he.jar -xsl:"process2script.xsl" -s:"live/a.job.xml" -o:"live/a.job.xml"
|
where a.job.xml is a job configuration with a process element.
The JobScheduler installation contains a saxon9he.jar in the ./lib directory.
Please note that JOE has a bug when it stores a job with a <process.../> element.
It creates a <script.../> element in addition:
...