If I submit a set of jobs using PBS in this way:

for f in configfiles
do
  qsub [options] ./script.sh $f
done

Can I remove the config files as soon as the job has been submitted, e.g.:

for f in configfiles
do
  qsub [options] ./script.sh $f
  rm $f
done

?

link|improve this question
Interesting....I have several Linux distros but I find that I HAVE a qsub man page but not the program and the repos do not have that program either. What distros / packages contain qsub? – mdpc Nov 1 '11 at 20:07
@mdpc I use qsub on a RedHat server, but it is also available on Ubuntu. The program is Torque which is a version of PBS – Abe Nov 1 '11 at 20:18
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.