This is an old revision of the document!
You can be notified when your job completes (or fails!) using the –mail-type and –mail-user options.
sbatch --mail-type=ALL --mail-user=chris@statgen.ncsu.edu wait.bash
–mail-type values are: BEGIN,END,FAIL,ALL,REQUEUE
You might want to use just END and FAIL:
sbatch --mail-type=END --mail-type=FAIL --mail-user=chris@statgen.ncsu.edu wait.bash