Hi Colin,
On Thursday, June 16, 2011 at 4:42 PM, Colin Leavett-Brown wrote:
I am trying to run HOOK_JOB_EXIT at the conclusion of my job, but it
appears that the hook is never run. I have created a simple job whose
output file (x.out) accurately details my problem:
You're missing the <Keyword>_ part of the configuration setting. It's
believe it's non-optional.
Your full config setup should look more like:
STARTER_JOB_HOOK_KEYWORD = MYHOOK
MYHOOK_HOOK_JOB_EXIT = /usr/local/bin/munin-node-condor-job-exit
If you write to STDERR in your hook it should show up in the
StarterLog.<slot> file for the machine the hook ran on. That can help
debug whether or not the hook actually got tripped at the end of the job.
Regards,
- Ian
---
Ian Chesal
Cycle Computing, LLC
Leader in Open Compute Solutions for Clouds, Servers, and Desktops
Enterprise Condor Support and Management Tools
http://www.cyclecomputing.com
http://www.cyclecloud.com
http://twitter.com/cyclecomputing