AWS Thinkbox Discussion Forums

Scripted Job Info

Now that we don’t have direct XML access to the job info do you have a preferred method of getting job keys/properties?

Is this from a Deadline script or a standalone script/application? If it’s a Deadline script, you can get them directory from the Job object. If it’s standalone, you can use “deadlinecommand -GetJob” to dump all the properties to stdout:

C:\Users\Ryan>"c:\program files\Thinkbox\Deadline6\bin\deadlinecommand.exe" -help -getjob

GetJob                        Display information for the job
  [Job ID(s)]                 The job ID, or a list of job IDs separated by
                              commas
  [Use Ini Display]           true/false (optional, default is false)

The optinal INI display option can be helpful if you’re getting info for multiple jobs.

Cheers,

  • Ryan

It’s a draft script. But I want it to be stand-alone outside of Deadline.

The easiest thing that comes to mind would be to pull them directly from the DB via pymongo or something similar. I wouldn’t bother shelling out and dealing with output parsing unless you’re completely out of other options.

Privacy | Site terms | Cookie preferences