- Global variables are available to all jobs and orders running on a JobScheduler.
- They can be set in the
config/scheduler.xmlconfiguration 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.xmlfile like this:
<params> <param name="global_configuration_params" value="config/scheduler_global_vars.xml"/> </params>
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
This method allows global variables to be set without JobScheduler having to be restarted.