Commit 6cc14671 authored by Ingrid Luijkx's avatar Ingrid Luijkx
Browse files

Restored saving of logfiles in exec folder (tools/initexit.py)

parent 876f1693
......@@ -639,7 +639,7 @@ class CycleControl(dict):
jobparams = {'jobname':"j.%s" % jobid, 'jobtime':'06:00:00', 'logfile': logfile, 'errfile': logfile}
template = self.DaPlatForm.get_job_template(jobparams)
execcommand = os.path.join(self['dir.da_submit'], sys.argv[0])
template += 'python %s rc=%s %s' % (execcommand, self['da.restart.fname'], join(self.opts, ''))
template += 'python %s rc=%s %s >&%s' % (execcommand, self['da.restart.fname'], join(self.opts, ''),logfile)
# write and submit
self.DaPlatForm.write_job(jobfile, template, jobid)
......
Supports Markdown
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