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

[HTCondor-users] best way to append WANT_HOLD reason



Looking at WANT_HOLD

WANT_HOLDÂ=Â($(MEMORY_EXCEEDED))ÂÂ
WANT_HOLD_REASONÂ=Â\ÂÂ
ÂÂÂifThenElse(Â$(MEMORY_EXCEEDED),Â\ÂÂ
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ"YourÂjobÂusedÂtooÂmuchÂvirtualÂmemory.",Â\ÂÂ
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂundefinedÂ)

What if I have 5+ reasons to hold a job. What is the most sanest and maintainabilityÂperspectiveÂto construct the WANT_HOLD_REASON clause?Â

My reasons are: if the job gets executed from a certain submitter, time of day, job duration, memory, etc..



--
--- Get your facts first, then you can distort them as you please.--