Talk:Batch Jobs Moab
This article is way too long, and should be split into several articles. Most important, we need to emphasis on best practice guides.
We should add: user defined pre-termination signals in batch jobs, and how to setup bash scripts for that.
#!/bin/bash #MSUB -l signal=15@120 cleanup(){ echo "entering cleanup routing" exit 0 } trap cleanup 2 15 ## ... do here main routine ... ##