Commit 7b0c44f1 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

Allow failed jobs to be stopped too (changing their status to submitted)

parent 285d845a
Pipeline #33158 passed with stage
in 14 minutes and 57 seconds
......@@ -200,7 +200,7 @@ class JobManagerSGE(JobManager):
if job.status in ('executing', 'queued', 'waiting'):
qdel(job.id, context=self.context)
logger.info("Stopped job '%s' in the SGE grid." % job)
job.submit()
job.submit()
self.session.commit()
self.unlock()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment