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

Re: [Condor-users] Preempting a job after 48 hours

> If I was wanting to have a hard limit on the length of time that a job
> can run and set that to 48 hours how would I do that?
> I know I can set MaxJobRetirementTime to some releatively small time,
> say 72 hours, but I am guessing that I need to set some sort of
> expression that is time based.
> Anyone have a recipe for doing this? ie putting a hard time limit on
> jobs on the cluster of some specific time?

See the periodic_remove submit command:


You can use that to kill a job that's run longer than you want.

- Ian