#$ -wd /tmp #$ -j y # Path to persistent storage _target=/hera/cbm/users/uhlig/out # Generate random numbers on local storage cat /dev/urandom | tr -dc '0-9' |fold -w 50 | head -n 50 > $TMPDIR/$JOB_ID.data # Move the data to the persistent storage cp -v $TMPDIR/* $_target # Evacuate the log-file cp -v $SGE_STDOUT_PATH $_target/$JOB_ID.log