aboutsummaryrefslogtreecommitdiff
path: root/slurm_job_states.rb
diff options
context:
space:
mode:
Diffstat (limited to 'slurm_job_states.rb')
-rw-r--r--slurm_job_states.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/slurm_job_states.rb b/slurm_job_states.rb
index 2881d68..232df3c 100644
--- a/slurm_job_states.rb
+++ b/slurm_job_states.rb
@@ -8,7 +8,7 @@ class SlurmJobStates
start_time = (Time.now - @interval).strftime("%H:%M:%S")
# Get raw data from sacct and read jobs into an array
- raw = `sacct -a -P -o State,Partition -S #{start_time}`.lines
+ raw = `/usr/bin/sacct -a -P -o State,Partition -S #{start_time}`.lines
# remove any whitespace from the ends of each string
raw = raw.map(&:strip)
# drop the header line