Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
h1. How can i I add environment variables to JobScheduler?
The commandline option -env=var_name=var_value
adds an environment variable to the Job Scheduler.
This variable is only in the scope of the Job Scheduler established.
If a variable var_name
already exists in the user environment then the value of the -env
option wins.
A windows Windows service of the Job Scheduler reads only the system and user environment if it has the corresponding user account.
...
Code Block |
---|
... # unix sample SCHEDULER_PARAMS="... \"-env=hello=world\" ..." ... rem windows sample set SCHEDULER_PARAMS=... -env="hello=world" ... ... |
Windows Service
A windows Windows service always starts the Job Scheduler always with that the options which it is are installed. After the windows Windows Job Scheduler setup a service is already installed so that it must be reinstalled with additional environment variables.
...