81 |
|
""" |
82 |
|
opt={} |
83 |
|
if optsToSave.get('server_mode',0) == 1: opt['serverName']=optsToSave['server_name'] |
84 |
< |
opt['name']= getUserName(self)+ '_' + string.split(common.work_space.topDir(),'/')[-2]+'_'+common.work_space.task_uuid() |
84 |
> |
opt['name']= getUserName()+ '_' + string.split(common.work_space.topDir(),'/')[-2]+'_'+common.work_space.task_uuid() |
85 |
|
task = Task( opt ) |
86 |
|
try: |
87 |
|
common.bossSession.saveTask( task ) |
378 |
|
|
379 |
|
## unsing 'standardInput' field for 'ended' tag ['Y','N'] |
380 |
|
job['standardInput'] = str( rForJ.getAttribute('ended') ) |
381 |
+ |
|
382 |
+ |
## for release > 251 |
383 |
+ |
# job.runningJob['state'] = str( rForJ.getAttribute('action') ) |
384 |
|
|
385 |
|
#if str( rForJ.getAttribute('resubmit') ).isdigit(): |
386 |
|
# job['submissionNumber'] = int(rForJ.getAttribute('resubmit')) |