diff --git a/notes on running dcl b/notes on running dcl old mode 100644 new mode 100755 diff --git a/runJob.sh b/runJob.sh new file mode 100755 index 000000000..5003f8a50 --- /dev/null +++ b/runJob.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +# capture arguments +targetJobID=$1 + +# make a directory for the job +mkdir -p /scratch/$targetJobID + +# run the beltdrive command +php index.php beltdrive processAWSBatchJob $targetJobID + +# delete the job directory +rm -rf /scratch/$targetJobID +