]> Creatis software - clitk.git/commitdiff
changed /usr/bin/env to /bin/env
authorcatherine quinones <quinones@creatis.insa-lyon.fr>
Wed, 11 Feb 2015 11:25:33 +0000 (12:25 +0100)
committercatherine quinones <quinones@creatis.insa-lyon.fr>
Wed, 11 Feb 2015 11:25:33 +0000 (12:25 +0100)
added date before and after the job data transfer

cluster_tools/gate_job_ccin2p3.job

index b4fbe62d4ab64c8cb525ddf241acdfb53a343bf8..1803d8a24f340da9097fe0d63129986b4554cec5 100644 (file)
@@ -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!!!"