Skip to content

Commit

Permalink
Merge pull request #7530 from aldbr/v8.0_FIX_HTCondor-exit-signal
Browse files Browse the repository at this point in the history
[8.0] fix: support case where HTCondor kills the jobs
  • Loading branch information
fstagni authored Mar 21, 2024
2 parents 26f60b6 + 8d82289 commit dadb0da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DIRAC/Resources/Computing/BatchSystems/Condor.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
kill_sig=SIGTERM
# By default, HTCondor marked jobs as completed regardless of its status
# This option allows to mark jobs as Held if they don't finish successfully
on_exit_hold = ExitCode != 0
on_exit_hold = ExitCode =!= 0
# A subcode of our choice to identify who put the job on hold
on_exit_hold_subcode = %(holdReasonSubcode)s
# Jobs are then deleted from the system after N days if they are not idle or running
Expand Down

0 comments on commit dadb0da

Please sign in to comment.