DeadlineCommand getjobsfilter options

DeadlineCommand getjobsfilter option’s

How can I do “status=rendering status=failed submitted=(Within last 24 hours)

Q1) Can I do status query with multiple status’s along with a date parameter?
Q2) How does the date queries work and what is the format.

Nothing too detailed but if someone can provide a simple query string, I think i will be able to figure our the rest myself.

Hey Nitin,

So, far the status part of your queries look great. There are actually three problems for the date.

The first is that ‘getjobsfilter’ doesn’t yet support dates, so there is no reasonable way to either enter an exact date (we match the text only).

The second problem is that we don’t support greater than or less than operations (again, everything is text).

The third problem, is we only support the filter query as either “all AND” or “all OR”, so we can’t say "match everything with these statuses (OR) but only for those that are lower than X (AND).

I’m going to go bother one of our devs about this to see if it’s going to be worth extending.

I might be able to help work around it. What were you going to do with this information after the query was done?

Thanks for looking into this Edwin.

Just sent an email to the ticket I had created with the answers to your question

Sounds good.

If anyone hits this in the future, you can get that information this way as well.

Run the attached script with DeadlineCommand as:
“C:\Program Files\Thinkbox\Deadline6\bin\DeadlineCommand” ExecuteScript getjobs.py
getjobs.zip (485 Bytes)