Add time to a running slurm job

Add time to a running slurm job

Sometimes users underestimate how long a job will run. An admin can add time to a running job using the following method:

  1. Determine the job number (ex, use squeue | grep username or squeue -u username).

  2. Check how much time remains before the job times out (ex, squeue -h -j 1110112 -O TimeLeft).

  3. Add time to the job. In this case three days. (eg, scontrol update job=1110112 TimeLimit=+3-00:00:00)

  4. Check the time remaining again. (eg. squeue -h -j jobnumber -O TimeLeft)