Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[HTCondor-users] SYSTEM_PERIODIC_HOLD does not behave :(
- Date: Wed, 15 Sep 2021 11:12:44 +0200 (CEST)
- From: "Beyer, Christoph" <christoph.beyer@xxxxxxx>
- Subject: [HTCondor-users] SYSTEM_PERIODIC_HOLD does not behave :(
Hi,
I am trying something very simple:
DownTime = 1631697900
SCHEDD_ATTRS = $(SCHEDD_ATTRS) Downtime
HoldOverDowntime = (ifThenElse(JobStatus == 1, (JobCurrentStartDate + RequestRuntime) > $(DownTime), ifThenElse(JobStatus == 2, (CurrentTime + MaxJobRetirementTime) > $(DownTime), )))
SYSTEM_PERIODIC_HOLD = $(HoldOverDowntime)
[root@bird-htc-sched12 config.d]# condor_config_val -schedd SYSTEM_PERIODIC_HOLD
(ifThenElse(JobStatus == 1, (JobCurrentStartDate + RequestRuntime) > 1631697900, ifThenElse(JobStatus == 2, (CurrentTime + MaxJobRetirementTime) > 1631697900, )))
Looks good so far but is not doing anything :(
[root@bird-htc-sched12 config.d]# condor_q -constraint 'JobCurrentStartDate + RequestRuntime > 1631697900'
-- Schedd: bird-htc-sched12.desy.de : <131.169.223.40:29540?... @ 09/15/21 11:11:36
OWNER BATCH_NAME SUBMITTED DONE RUN IDLE TOTAL JOB_IDS
chbeyer ID: 11513579 9/13 09:00 _ 1 _ 1 11513579.0
chbeyer ID: 11513580 9/15 09:52 _ 1 _ 1 11513580.0
I am missing something obvious here as usual ? :(
BEst
christoph
--
Christoph Beyer
DESY Hamburg
IT-Department
Notkestr. 85
Building 02b, Room 009
22607 Hamburg
phone:+49-(0)40-8998-2317
mail: christoph.beyer@xxxxxxx