Run a job after previous slurm jobs are finished
This script checks a slurm queue for a list of jobIDs and launches a command, when the jobs are finished.
run_next_job.sh -j -n [-i -d]
-j JobID: Comma separated list of Job IDs to check
-n next command: Command that should be run next (write in '' and set executable)
-i interval: Time between each check. Use number and suffix (s,m,h,d)
default:10m
-d: Debug Mode
-h display help