Querying info from Deadline - best practices?

Hi there,

I’d just like to ask about how best to approach querying info from the Deadline server? I read in the docs I have to setup Pulse and the Web service, is that correct?

However, how do I then query the server?

Say I have a database system that submits shots to the farm and I want to see how much of the shot has been rendered at any given time. The database system was written in CPython, so, is there a way to either load up a Python module and use that for the queries or do I have to connect to the server via some network or ethernet routing or what not and only then send commands in?

Thanks a lot in advance, cheers…

There are two ways you can do this. The first, as you’ve discovered, is to run Pulse and communicate with it via the Web service. You would create python scripts in the repository as explained here:
software.primefocusworld.com/sof … gpulse.php

The documentation also covers how you would call those scripts (via a URL). So if you can gather the contents of a web page via python, you should be good to go. You can have the scripts return plain text that you can parse to gather the information.

The other method is to call deadlinecommand.exe to query information. This command line application supports many options:
software.primefocusworld.com/sof … ommand.php

Hope this helps!

  • Ryan

Thank you very much, I’ll take a look at both of these options and see which one could be most useful to my case…

Thanks, cheers…