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

[HTCondor-users] Tips on deleting files transferred by TransferInput



Hi List,

After submitting a job with

"TransferInput": file.txt,cleanup.sh

The job completes but the file.txt stays in the " condor/spool/Cluster#/0/Cluster#.proc0.subproc0/ " directory.

How do I delete the "file.txt" upon job completion?

I tried doing a +PostCmd = cleanup.sh

cleanup.sh contains

> rm file.txt
> rm $IWD/file.txt

But that didn't seem to work, so any tips would be appreciated,

Thank you!