From 1e23962b1cd66563bcac745db5b045b42c1eee28 Mon Sep 17 00:00:00 2001 From: Colin McFadden Date: Mon, 15 Jul 2024 10:58:33 -0500 Subject: [PATCH] adding runjob command --- notes on running dcl | 0 runJob.sh | 14 ++++++++++++++ 2 files changed, 14 insertions(+) mode change 100644 => 100755 notes on running dcl create mode 100755 runJob.sh 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 +