[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] little confused as to what syntax I use if I want multiple job Hooks
- Date: Fri, 20 Jan 2012 12:17:07 -0500
- From: Matthew Farrellee <matt@xxxxxxxxxx>
- Subject: Re: [Condor-users] little confused as to what syntax I use if I want multiple job Hooks
On 01/19/2012 11:43 AM, Ian Cottam wrote:
I'm a little confused as to what syntax I use if I want multiple job Hooks.
Currently I have (on my main matchmaker/submitter node):
HookKeyword = "POWERMAN"
what do I write if I want a second hook called say LICENCECHECK?
The hook code only allows one per job (RFE to get more). The standard
approach to have multiple hooks is to compose. Create MyTwoHooks that
invokes both POWERMAN and LISENSECHECK, the job then requests
HookKeyword = "MyTwoHooks".
If you want to let users avoid +HookKeyword = "MyTwoHooks" you currently
have to go the SUBMIT_EXPRS route. Maybe another RFE for admin side
expression to map jobs to hooks.