Hi all, I'm following the fine manual (http://research.cs.wisc.edu/htcondor/manual/v8.2/4_4Hooks.html#sec:daemon-classad-hooks) and have defined # condor_config_val -dump | grep BLASTS BLASTSEARCH_HOOK_PREPARE_JOB = /bin/sh -c "if /usr/bin/test -f /var/tmp/bmrb/blast/db/r.pal ; then exit 0 ; else exit 1 ; fi" My submit file has requirements = (BLASTSEARCH_HOOK_PREPARE_JOB =!= UNDEFINED) +HookKeyword = "BLASTSEARCH" The job doesn't run: Step Matched Condition ----- -------- --------- [1] 0 BLASTSEARCH_HOOK_PREPARE_JOB isnt undefined Suggestions: Condition Machines Matched Suggestion --------- ---------------- ---------- 1 ( BLASTSEARCH_HOOK_PREPARE_JOB isnt undefined ) 0 MODIFY TO undefined What am I missing? (Centos 6, condor-8.2.7-300022.x86_64) -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
Attachment:
signature.asc
Description: OpenPGP digital signature