Closed ewels closed 9 years ago
Would be nice to add in --qstat
and --qdel
for local.
For --qdel
:
ps fu | grep cf_local_cf # Or something more clever to get $PID
kill -9 -$(ps -o pgid= $PID | grep -o '[0-9]*')
Kill command from here
Aha, pgrep
seems to be the chap here. Would be nice to read the bash file as well, then look at child processes to figure out what step number we're on for --qstat
Add #!/bin/bash
to script and some comments saying what it is and when it was created...
Would be nice to be able to run pipelines locally instead of having to always submit jobs to the cluster.
Could perhaps write a bash file with the commands, in order. Then submit: