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

Re: [HTCondor-users] Behaviour of DAGMAN_ALWAYS_RUN_POST in absence of PRE



On 04/03/2017 12:02 PM, Kent WENGER wrote:
> Brian Candler wrote:

>> What I'm looking for is a simple way to say "if the DAG node fails, then
> don't run the POST script, and make sure DAGman treats the node as
> failed too".
> 
> Hmm -- at the present time there's no way to tell DAGMan to do that.

I wonder: in what scenario a post script that starts with

#!/bin/sh
if [ $1 -ne 0 ] ; then exit $1 ; fi

would cause problems?

-- 
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu

Attachment: signature.asc
Description: OpenPGP digital signature