Skip to content

Commit

Permalink
Improve cancel script
Browse files Browse the repository at this point in the history
  • Loading branch information
axdanbol committed Apr 1, 2024
1 parent 502984f commit 15fefba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/30x-cancel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ if [[ ! -e "$control_file" ]]; then
exit 1
fi

bash "$SRC_DIR/slurm/util/update-active-workers.sh" "$control_file" "-1000000" >/dev/null

(
flock 9 || exit 1
printf 'Approximate number of executed jobs: %s\n' "$(<$control_file)"
Expand Down

0 comments on commit 15fefba

Please sign in to comment.