Mailing List Archives
Public Access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] prepare job hook anyone?
On Thu, Feb 19, 2015 at 5:41 PM, Dimitri Maziuk <dmaziuk@xxxxxxxxxxxxx> wrote:
> The only bit that's missing so far is a way for a job to ask for
> machines where the hook is configured.
There may be a fancier way to do it, but one way is to set an
attribute and have the startd publish it
HasMyAwesomeJobHook = True
STARTD_ATTRS = $(STARTD_ATTRS), HasMyAwesomeJobHook
Then in the job, you can include
HasMyAwesomeJobHook =?= True
in your Requirements.
Thanks,
BC
--
Ben Cotton
main: 888.292.5320
Cycle Computing
Better Answers. Faster.
http://www.cyclecomputing.com
twitter: @cyclecomputing