PipelineFX Forum
Qube! => Developer Customization => Topic started by: roberty on August 30, 2014, 03:18:33 AM
-
Hi,
I am trying to get a query of all the submission times on qube as a side tool to help our wranglers. Normally I would do this for other query types, such as users:
qbList = []
qbArtist = raw_input("Which artist: ")
jobs = qb.jobinfo(filters={'user':qbArtist})
for item in jobs:
qbList.append(item['id'])
print qbList
I am using python and what qb.jobinfo returns is a dict. But I can't seem to find the API command to query the time submission. A little help from the community would be appreciated!
Thanks,
Robert
-
Try accessing the job['timesubmit'] value. It should be in seconds as unix epoch time.
-
Hi,
This worked, much appreciated!
From,
Robert Yeh