[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Condor-users] SYSTEM_PERIODIC_HOLD



Couple of questions about this statement:

1) How do I append a SYSTEM_PERIODIC_HOLD statement ?

I am assuming


SYSTEM_PERIODIC_HOLD = $(SYSTEM_PERIODIC_HOLD) || \
  (JobStatus == 1 || JobStatus == 2) && \
  (JobRunCount > 10 || ImageSize > 3000000 || DiskUsage > 10000000)

2) I would like to hold a job that is over 10Mins
I am thinking something like this
MAX_RUN_TIME=360
SYSTEM_PERIODIC_HOLD=   (JobStatus == 1 || JobStatus == 2) && \
  (JobRunCount > 10 ||  ( (ServerStartTime-JobStartDate) > $(MAX_RUN_TIME) )


3) How can I make sure my SYSTEM_PERIODIC_HOLD setting is existence on the hold?

I am thinking, login to the host and run "condor_config_dump
SYSTEM_PERIODIC_HOLD -v

Reference:
http://www.cs.wisc.edu/condor/manual/v7.2/3_3Configuration.html#18507


Any help would be appreciated
TIA