So a nuke cmdrange job dictionary will look something like:
job = {
'prototype': 'cmdrange',
'name': 'my job name',
'package': {
'allNodes_Viewer': 'Viewer4,Viewer2,Viewer1',
'allNodes_Write': 'Write2,Write1,Write3',
'cmdline': '"/Applications/Nuke6.2v4/Nuke6.2v4.app/Contents/MacOS/Nuke6.2v4" -t -x -X "Write1,Write2,Write3" -- "/Users/jburk/test/nuke/test.nk" QB_FRAME_START,QB_FRAME_END,QB_FRAME_STEP',
'executable': '"/Applications/Nuke6.2v4/Nuke6.2v4.app/Contents/MacOS/Nuke6.2v4"',
'executeNodes': 'Write1,Write2,Write3',
'frameCount': '100',
'range': '1-100',
'regex_outputPaths': 'Writing (.*) took [0-9.\-]+ seconds',
'script': '/Users/jburk/test/nuke/test.nk',
'simpleCmdType': 'Nuke (cmdline)'
},
}
job['agenda'] = qb.genframes('1-100')
Only the bold key/values pairs are strictly necessary for the job to be properly constructed, but the others will allow for proper re-submission in the GUI at a later time.