From: catherine quinones Date: Wed, 11 Feb 2015 11:25:33 +0000 (+0100) Subject: changed /usr/bin/env to /bin/env X-Git-Tag: v1.4.0~102 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=d68d36f59ce5e752a7ecccd347c262e009afe76a;p=clitk.git changed /usr/bin/env to /bin/env added date before and after the job data transfer --- 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!!!"