From 27ac3d7345957754e933a2f5e5158efa69b65827 Mon Sep 17 00:00:00 2001 From: aldbr Date: Tue, 1 Jul 2025 15:56:45 +0200 Subject: [PATCH] fix(resources): missing parenthesis in htcondor submission script --- 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 b37d40580d9..594baa86943 100644 --- a/src/DIRAC/Resources/Computing/BatchSystems/Condor.py +++ b/src/DIRAC/Resources/Computing/BatchSystems/Condor.py @@ -78,7 +78,7 @@ on_exit_hold_subcode = %(holdReasonSubcode)s # Jobs are then deleted from the system after N days if they are not idle or running periodic_remove = ((JobStatus == 1) && (NumJobStarts > 0)) || \ - ((JobStatus != 1) && (JobStatus != 2) && ((time() - EnteredCurrentStatus) > (%(daysToKeepRemoteLogs)s * 24 * 3600)) + ((JobStatus != 1) && (JobStatus != 2) && ((time() - EnteredCurrentStatus) > (%(daysToKeepRemoteLogs)s * 24 * 3600))) # Specific options # ----------------