#!/bin/tcsh sbatch sbatch.tsh "`/usr/bin/git describe --tags --long`" # waiting for batch job to start and send all output directly to terminal sleep 2 tail -qf tmp/stdout.log tmp/stderr.log