Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Conversion corrections

Table of Contents
outlinh1. true
outlinh1. true
1printablefalse
2stylh1. none
3indent20px

The <process../> element in a job configuration was useful to start an executable.

Code Block
languagehtml/xml

<job >
    <params />
    
    <process  file="/path/to/my_executable" param="my_param">
        <environment />
    </process>

    <run_time />
</job>

This above configuration is <span style="color:red">DEPRECATED</span>.

You can use the following instead:

Code Block
languagehtml/xml

<job >
    <params />

    <environment />
    
    <script  language="shell">
        <![CDATA[
/path/to/my_executable my_param
        ]]>
    </script>

    <run_time />
</job>

...

  • ...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"

...

Code Block
languagehtml/xml

<job >
    <params />

    <script  language="shell"/>

    <process  file="/path/to/my_executable" param="my_param">
        <environment />
    </process>

    <run_time />
</job>

In this case please use the converter "process2script.xsl" or JOE to put the data from the job's process file tab into the job's script tab.