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

Re: [HTCondor-users] Conditional output file transfer



On Thu, May 02, 2013 at 11:19:49AM -0500, R. Kent Wenger wrote:
> I don't know of a way to actually make the file transfer
> conditional.  But if you're running your jobs inside a DAG, you
> could use a POST script to get rid of the undesired files -- so you
> wouldn't save file transfer bandwidth, but you at least wouldn't
> have to deal with the files manually.
> A POST script can know the return code of the job, so it would be
> easy to delete the error file if the job succeeded...

I see, so something like:

SCRIPT POST A tidy.sh $RETURN A.err

I think that'll be good enough - thanks!