#!/bin/bash -l # Submit job with the command: qsub Statajob # To view the status of the job: qstat -u username # Set the runtime limit (default 12 hours): #$ -l h_rt=12:00:00 # Send email when the job is done (default: no email is sent) #$ -m e # Give the job a name (default: script name) #$ -N stata_test #Join output and error stream #$-j y ## end of qsub options module load stata/16 stata -b do basic.do