diff --git a/autosubmit/job/job.py b/autosubmit/job/job.py index 8e51ac58bd5e81220db6a78ab43751ad9ce9625c..e2ddb23ccad4559a323666442fec1331539a3521 100644 --- a/autosubmit/job/job.py +++ b/autosubmit/job/job.py @@ -938,10 +938,18 @@ class Job(object): if as_conf.get_project_type().lower() != "none": template_file = open(os.path.join( as_conf.get_project_dir(), self.file), 'r') - template = template_file.read() + template = '' + if as_conf.get_remote_dependencies(): + if self.type == Type.BASH: + template = 'sleep 30' +"\n" + elif self.type == Type.PYTHON: + template = 'time.sleep(30)' +"\n" + elif self.type == Type.R: + template = 'Sys.sleep(30)' +"\n" + template += template_file.read() else: if self.type == Type.BASH: - template = 'sleep 120' + template = 'sleep 5' elif self.type == Type.PYTHON: template = 'time.sleep(5)' elif self.type == Type.R: