Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Download file updated

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>.deprecated:

Jira
serverSOS JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId6dc67751-9d67-34cd-985b-194a8cdc9602
keyJS-1173

You can use the following insteadreplacement:

Code Block
languagehtml/xml

<job >
    <params />

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

    <run_time />
</job>

You can download a converter "converter process2script.xsl"zip .

Extract the archive i.e. in the ./config directory of the JobScheduler installation.
The Then 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"

...

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 above converter "converter process2script.xsl"zip or JOE to put the data from the job's process file tab into the job's script tab.