TORQUE Resource Manager > Submitting and Managing Jobs > Job Submission > Example Submit Scripts

Example Submit Scripts

The following is an example job test script:

#!/bin/sh

#

#This is an example script example.sh

#

#These commands set up the Grid Environment for your job:

#PBS -N ExampleJob

#PBS -l nodes=1,walltime=00:01:00

#PBS -q np_workq

#PBS -M [email protected]

#PBS -m abe

 

#print the time and date

date

 

#wait 10 seconds

sleep 10

 

#print the time and date again

date

Related Topics 

© 2015 Adaptive Computing