...
- 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 theconfig/scheduler.xml
file like this:
Code Block |
---|
<params>
<param name="global_configuration_params" value="config/scheduler_global_vars.xml"/>
</params>
|
...
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.
...