Quote from bozzza on 14. November 2019, 1:56Hi,
Since there is no option of choosing the pool when submitting maya job to deadline via prism, I was wondering if there is a quick script that would help us to auto assign a specific pool whenever a job's been submitted to deadline.
Thanks!
Hi,
Since there is no option of choosing the pool when submitting maya job to deadline via prism, I was wondering if there is a quick script that would help us to auto assign a specific pool whenever a job's been submitted to deadline.
Thanks!
Uploaded files:Quote from RichardF on 20. November 2019, 12:59I think the easiest way would be to modify the Prism Deadline submission script.
In this script you could simply add a line "jobInfos["Pool"] = "urgent"
https://github.com/RichardFrangenberg/Prism/blob/85daf03addde82c38cff830dc5ed19b7e29d9703/Prism/Plugins/RenderfarmManagers/Deadline/Scripts/Prism_Deadline_Functions.py#L416
Another way would be to create a new Prism Plugin and use the "postSubmit_Deadline" callback to modify the settings of the job after it has been submitted. If you want to go that road I can give you an example for that.
I think the easiest way would be to modify the Prism Deadline submission script.
In this script you could simply add a line "jobInfos["Pool"] = "urgent"
Another way would be to create a new Prism Plugin and use the "postSubmit_Deadline" callback to modify the settings of the job after it has been submitted. If you want to go that road I can give you an example for that.
