I would like to update environment key values of an existing job.
Either using the python api, given that I am using deadline 10,
or deadlinecommand.exe.
I tried using setjobsettings deadlinecommand.exe but the result was
Error: setting ‘EnvironmentDictionary’ was found, but could not be set
The job is sent using the deadline python API with an infos file and a plugin file.
My users would like to know the current job id when their script is executed.
As it is seems not possible, I had the idea to send the job as suspended, set the id in the environment variables, activate the job.
The command to set a settings is : deadlinecommand.exe --setjobsetting job_id settings value
Unfortunatly, setting or event getting the EnvironmentDictionary is not possible.