From 6cc14671a2998f1051f018cbf632a9ab331c1e65 Mon Sep 17 00:00:00 2001 From: Ingrid Luijx <ingrid.vanderlaan@wur.nl> Date: Thu, 21 Mar 2013 08:38:17 +0000 Subject: [PATCH] Restored saving of logfiles in exec folder (tools/initexit.py) --- da/tools/initexit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/da/tools/initexit.py b/da/tools/initexit.py index 8690133a..0ef3b2bd 100755 --- a/da/tools/initexit.py +++ b/da/tools/initexit.py @@ -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) -- GitLab