Page History
...
Code Block |
---|
js7AgentHostname = env('HOSTNAME', env('COMPUTERNAME'), "")) |
Explanation:
- The
env()
function makes use of two arguments: the first argument specifies an environment variable, the second argument specifies a default value should the environment variable not exist. - Adding an empty default value - specified by two double quotes - as provided from the above example resolves the problem.
- To apply changes deploy the job resource after modification.
...
Overview
Content Tools