Skip to content

Commit

Permalink
adding runjob command
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin McFadden committed Jul 15, 2024
1 parent 6eb1da6 commit 1e23962
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Empty file modified notes on running dcl
100644 → 100755
Empty file.
14 changes: 14 additions & 0 deletions runJob.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1e23962

Please sign in to comment.