2.0 Submitting and managing jobs > 2.1 Job submission > 2.1.9 Example submit scripts

2.1.9 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