#!/bin/bash
#$ -cwd
#$ -j y
#$ -m n
#$ -l h_rt=4000
#$ -P euclid
#$ -M username@mpe.mpg.de
#$ -N <jobname>
# go to temporary directory
cd /data/euclid/u/<username>/tmp
# run job
for i in $(seq -w 10);do echo $i;sleep 360;done > logfile
# copy results
cp logfile /data/euclid/u/username