gliteWMS6: job.sh

File job.sh, 489 bytes (added by /O=GRID-FR/C=FR/O=CNRS/OU=LPSC/CN=Fabian Lambert, 16 years ago)

glite_wms_job_6

Line 
1#!/bin/sh
2
3# Initialisation de l'environnement sur le WN
4export LFC_HOST=lfc-prod.in2p3.fr
5export LFC_HOME=/grid/atlas/users/user.FabianLambert
6
7# Copie des fichiers du SE sur le WN
8# Remarque: Le nom du fichier copie sur le WN et le LFN sont les memes
9lcg-cp --vo atlas lfn:$1 file:`pwd`/$1
10lcg-cp --vo atlas lfn:$2 file:`pwd`/$2
11
12
13# Execute the job
14echo "Premier fichier:"
15cat $1
16echo "Second fichier:"
17cat $2
18# Generate an output file
19echo "Les fichiers sont concatenes"
20cat $1 $2 > $3