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

Re: [HTCondor-users] Does +PostCmd have to be a script?

On 10/25/2016 02:31 PM, Michael Pelletier wrote:
> The PostCmd executable must be transferred separately, and runs from scratch. Your submission was trying to run $_CONDOR_SCRATCH_DIR/bin/rm.
> Transfer_input_files = /bin/rm
> +PostCmd = "rm"
> +PostArgs = "-rf /tmp/$$(ClusterID)"

Good try but no: whether I transfer /bin/rm or not, "+PostCmd = /bin/rm"
goes into limbo and "+PostCmd = rm" successfully runs the job and keels
over on the PostCmd.

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

Attachment: signature.asc
Description: OpenPGP digital signature