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

Re: [Condor-users] Hooking PeriodicHold, PeriodicRemove



On Thu, Feb 28, 2008 at 01:27:21PM +0100, Jan Ploski wrote:
> Hello,
> 
> Are there any hooks that would allow running a user-defined script (which 
> would, for example, log the job's classad) whenever 
> PeriodicHold/PeriodicRemove evaluates to True and before the job is 
> actually held/removed?
> 

Not directly. However, this is exactly the sort of scenario that 
the scheduler/local universe was envisioned for. You can have a local
script that submits the job, evalutes whatever condition you'd like whenever
you'd like, and make whatever scheduling decisions you'd like, including
putting the job on hold.

-Erik