Hello,
I’ve submitted multiple jobs with their InitalStatus “Suspended”. Using the cmd I’m trying to set their dependencies then setting them to pending
my command line argument:
C:/Program Files/Thinkbox/Deadline10/bin/deadlinecommandbg.exe -SetJobSetting 5a21f6ab5c23f3247860ca83 JobDependencies 5a21f6ad5c23f3247860ca93 -PendJob 5a21f6ab5c23f3247860ca83
The issue is the -PendJob command doesn’t set the jobs pending. The Jobs get the proper dependencies but not the pending flag. What am I missing or doing wrong here?
Cheers
Hey there,
Deadline Command will only run one command and then exit. You would need split up your commands like this:
C:/Program Files/Thinkbox/Deadline10/bin/deadlinecommandbg.exe -SetJobSetting 5a21f6ab5c23f3247860ca83 JobDependencies 5a21f6ad5c23f3247860ca93
C:/Program Files/Thinkbox/Deadline10/bin/deadlinecommandbg.exe -PendJob 5a21f6ab5c23f3247860ca83
Deadline command interprets the command the way you’re currently running it as SetJobSetting with arguments JobDependencies, the id, pendjob, the id. Since SetJobSetting is only looking for the setting and the value, it is ignoring the last two arguments.
Hope that clears things up!
Thanks Ryan,
I ended up splitting up the cmds in the end, just wasn’t sure if that was the right way to do it.
Cheers