Wrapper around PBS/SGE type queuing systems to automatically resubmit jobs