Is there a way to add a dependency after submission via deadlinecommand? I have a job that gets submitted suspended from a different pipeline, and I’d like to submit my own job, then make that suspended job depend on mine. I don’t currently have a pulse server running, so it would be great if I could do this on the commandline, rather than with the standalone api.
I wasn’t able to find a command that could do that either. I’ve actually never had to do this myself.
Worst case, we can write a simple script you could run through DeadlineCommand to get what you need. I’ll just need to do some investigating first.
This can actually be done through the command SetJobSetting which takes the name of the job the setting and the new values for the settings.
To set the dependencies using this you can call -SetJobSetting JobDependencies .
Awesome, thanks! I’ll give that a shot!
Update: Works like a charm, when paired with PendJob. Thank you again!