Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[HTCondor-users] hooks
- Date: Tue, 14 Jun 2016 11:28:58 -0500
- From: John G Heim <jheim@xxxxxxxxxxxxx>
- Subject: [HTCondor-users] hooks
On the cluster I admin, there is a software package that is installed on
all of the machines but is licensed on only some. I wrote a bash script
that exits with an error code if the machine is not licensed. The script
exits with an exit code of zero if the machine is licensed. When an end
user tries to run the software on an unlicensed machine, it runs this
script first and then prints instructions if the machine is unlicensed.
Else it just runs the software.
For condor users, I would like to make a variable available that they
can put in their requirements. I'm unclear on how to do that. The
documentation for hooks has an example that seems to be similar to what
I want. But I can't find any clear howtos on this.
-- -- John G. Heim; jheim@xxxxxxxxxxxxx; sip://jheim@xxxxxxxxxxxxxxxx