Skip to end of metadata
Go to start of metadata

Global Variables

  • 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.

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.

The following example shows how to create global variables:

See also