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

[Condor-users] STARTER_JOB_HOOK_KEYWORD question



Hi,
I need to have more than one hook to be executed when a job exits (in no particular order), for all jobs.  The document says that you can specify which hook to run for every job using the STARTER_JOB_HOOK_KEYWORD, as shown below:

STARTER_JOB_HOOK_KEYWORD = STARTER
STARTER_HOOK_JOB_EXIT = /usr/local/bin/myhook

My question is: Is there a way to run more than one hook?  Something like:

STARTER_JOB_HOOK_KEYWORD = STARTER,MYOTHERHOOK
STARTER_HOOK_JOB_EXIT = /usr/local/bin/myhook
MYOTHERHOOK_HOOK_JOB_EXIT = /usr/local/bin/myhook2

Thanks!
  Andre