diff --git a/longbow/schedulers/slurm.py b/longbow/schedulers/slurm.py index 83e405b..3277a20 100644 --- a/longbow/schedulers/slurm.py +++ b/longbow/schedulers/slurm.py @@ -217,7 +217,7 @@ def status(job): jobstate = "" - shellout = shellwrappers.sendtossh(job, ["squeue -u " + job["user"]]) + shellout = shellwrappers.sendtossh(job, ["squeue -j " + job["jobid"]]) # PBS will return a table, so split lines into a list. stdout = shellout[0].split("\n")