From d68d36f59ce5e752a7ecccd347c262e009afe76a Mon Sep 17 00:00:00 2001 From: catherine quinones Date: Wed, 11 Feb 2015 12:25:33 +0100 Subject: [PATCH] changed /usr/bin/env to /bin/env added date before and after the job data transfer --- cluster_tools/gate_job_ccin2p3.job | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cluster_tools/gate_job_ccin2p3.job b/cluster_tools/gate_job_ccin2p3.job index b4fbe62..1803d8a 100644 --- a/cluster_tools/gate_job_ccin2p3.job +++ b/cluster_tools/gate_job_ccin2p3.job @@ -1,4 +1,4 @@ -#!/usr/bin/env bash -x +#!/bin/env bash -x # # MACRODIR # MACROFILE @@ -92,11 +92,12 @@ else || error "gate failed" fi +date echo "Copying data back" ssh -i ${HOME}/.ssh/ccin2p3 linux1.dg.creatis.insa-lyon.fr "mkdir cc/$(basename ${OUTPUTDIR})/output.${JOB_ID%%.*}" rsync -av --remove-source-files -e "ssh -i ${HOME}/.ssh/ccin2p3" output/ "linux1.dg.creatis.insa-lyon.fr:./cc/$(basename ${OUTPUTDIR})/output.${JOB_ID%%.*}" echo "Cleanup" rm -r ${LOCALMACRODIR} - +date echo "Success!!!" -- 2.47.1