[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Conditional output file transfer
- Date: Thu, 2 May 2013 21:33:19 +0100
- From: Brian Candler <B.Candler@xxxxxxxxx>
- Subject: 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!