How do I export Completed Job Stats with scripts?

Is it possible to use script to generate report CSV files same as what we would get from
Monitor > Tools > View farm report > Completed Job Stats
with custom time range and selective columns?

Hey Panupat,

Generating reports from DeadlineCommand is covered in this forum post here:

Regards,

Charles

1 Like

hi Cmoore. Thank you for your reply. I’m curious if this FarmReport command was added to Deadline 9 as well? Or only 10.

Another question. For the flag JobStatistics, is there anyway to wild card the pool/group/plugins parameters?

The command line is locked in place, but for “JobStatistics” I believe just add empty quotes or omit the flags entirely.

1 Like

Ah empty quote works. Cannot omit tho the flags are required.

Thank you.

1 Like

Ran into a little problem. The -jobStatistics does not output Job Extra Info which are needed. When adding query with -getJob [id] in the loop, the script run time increased from 4 seconds to almost 15 minutes :frowning:

Best solution is probably upgrading to Deadline 10 for the -FarmReport command.

Hmm. How many jobs are in your queue? I can cut a performance ticket for that. It may be worth re-trying the same call on a newer version as well.