From 8d822894d6bd545197f4ec069dfe2ee3cd31e5c8 Mon Sep 17 00:00:00 2001 From: aldbr Date: Thu, 21 Mar 2024 14:51:02 +0100 Subject: [PATCH] fix: handle the case where HTCondor kills the jobs --- src/DIRAC/Resources/Computing/BatchSystems/Condor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DIRAC/Resources/Computing/BatchSystems/Condor.py b/src/DIRAC/Resources/Computing/BatchSystems/Condor.py index a758eefe062..825e05410e5 100644 --- a/src/DIRAC/Resources/Computing/BatchSystems/Condor.py +++ b/src/DIRAC/Resources/Computing/BatchSystems/Condor.py @@ -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