Versions Compared


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


  • Global variables are available to all jobs and orders running on a JobScheduler.
  • They can be set in the config/scheduler.xml configuration file, which is loaded when JobScheduler is started. Global variables can also be set in a separate configuration file which is referenced from the config/scheduler.xml file like this:
Code Block
  <param name="global_configuration_params" value="config/scheduler_global_vars.xml"/> 

Note that if global variables are configured in a file, then they will only be loaded if JobScheduler starts. A restart of JobScheduler will be required after modification of variables.

It is however possible to set global variables via the JobScheduler API and the set_var() function.
This method allows global variables to be set without JobScheduler having to be restarted.