Deadline Monitor - frame count flag

Hi,

We are currently trying to create an small Event Plugin for our in-house render farm through Deadline that would flag a warning when a set amount of frames have been queued (frames across a large selection of shots - ie: when the farm reaches say 7000 queued frames for example).

Does anyone have any experience setting up such a flagging event? Anything available straight from within Deadline? Any help or insight would be greatly appreciated.

Thanks

Craig

There are several event callbacks you might be able to use in a plugin. For example:
OnJobPendedCallback OnJobReleasedCallback, then call JobFrames on all the pending jobs and keep a counter on how many frames are in a pending state.

https://docs.thinkboxsoftware.com/products/deadline/10.0/1_User%20Manual/manual/event-plugins.html

You should be able to iterate over the jobs and count the number of tasks. This example in particular will get you pretty far I think: