Skip to content
Snippets Groups Projects
Commit 6cc14671 authored by Ingrid Luijkx's avatar Ingrid Luijkx
Browse files

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

parent 876f1693
Branches
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment