Originally Posted by DoME69
is There anyway do this without script?
Why not include command2 in the job that you sumit? I'm assuming that "command1" is a script, if so, just add command2 to the end of the script.
echo command2 >> command1
qsub -q bla command1
If command1 is not a script, just change what you submit. EG.
cat > commands << EOF
qsub -q bla commands