diff --git a/da/tools/initexit.py b/da/tools/initexit.py index 987afbe0c3b0c967a243ffd5c0f6f58d18cf8ec9..ba9b80e9c7a98ba193607943a32aaee0e5f37496 100755 --- a/da/tools/initexit.py +++ b/da/tools/initexit.py @@ -621,10 +621,11 @@ class CycleControl(dict): if self['time.start'] < self['time.finish']: - jobparams = {'jobname':'das'} + jobparams = {'jobname':sys.argv[0][2:],'jobtime':'01:30:00'} template = DaPlatForm.GetJobTemplate(jobparams) jobcommand = '%s rc=%s'% (sys.argv[0], self['da.restart.fname'], ) template += 'cd %s\n'% self['dir.da_submit'] + template += 'rm -f core.*\n' template += '%s rc=%s %s' % (sys.argv[0],self['da.restart.fname'],join(self.opts,''),) jobfile = DaPlatForm.WriteJob(self,template,self['time.start'].strftime('%Y%m%d') ) jobid = DaPlatForm.SubmitJob(jobfile)