    echo "Invalid number of arguments."
    echo "Usage:  $0 <log directory> <singularity image> <job id> <job status>"
    exit 1
fi
logdir=$1
image=$2
jobid=$3
status=$4
dir=`dirname $0`

if [ -d ${logdir}/${jobid} ]; then
    exit
fi
