Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Environment Variable JobDescription
SCHEDULER_SOSFILEOPERATIONS_RESULTSETYADE JITL JobA colon separated list of file names for the files that have been transferred

List of Environment Variables available with Agents

Environment Variable ExampleDescription
SCHEDULER_ORDER_STATEstartstate of the node that the crder currently passes
SCHEDULER_TASKSTART_DATE01.12.2017 09:13:59+0100Date in country format as specified by LANG environment variable
SCHEDULER_TASKSTART_DATE_ISO2017-12-01T09:13:59+0100Date in ISO format
SCHEDULER_TASKSTART_DAY31Day of task start time
SCHEDULER_TASKSTART_MONTH12Month of task start time
SCHEDULER_TASKSTART_YEAR2017Year of task start time
SCHEDULER_TASKSTART_HOUR23Hour of task start time
SCHEDULER_TASKSTART_MINUTE59Minute of task start time
SCHEDULER_TASKSTART_SECOND32Second of task start time

Explanations

  1. For job parameters the default setting is to be prefixed with SCHEDULER_PARAM_, e.g. the parameter hostname will become SCHEDULER_PARAM_HOSTNAME.
    • You can modify this behavior by specifying job parameters to be used without any prefix. This can be achieved by adding the following parameter configuration to your ./config/scheduler.xml file and by restarting JobScheduler:

      Code Block
      languagexml
      <params>
      	<param name="scheduler.variable_name_prefix" value="*NONE"/>
      </params>

      With this setting a parameter hostname will be provided with the environment variable HOSTNAME.

    • You can use an arbitrary prefix by specifying:

      Code Block
      languagexml
      <params>
      	<param name="scheduler.variable_name_prefix" value="MY_SCHEDULER_PARAM_"/>
      </params>

      With this setting a parameter hostname will be provided with the environment variable MY_SCHEDULER_PARAM_HOSTNAME.

       
    • The default value is provided by the implicit setting:

      Code Block
      languagexml
      <params>
      	<param name="scheduler.variable_name_prefix" value="SCHEDULER_PARAM_"/>
      </params>

      With this setting a parameter hostname will be provided with the environment variable SCHEDULER_PARAM_HOSTNAME.

...