User Tools

Site Tools


guillimin_faq

====== Differences ====== This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
guillimin_faq [2015/04/22 16:14]
132.216.122.26 [I would like to receive an e-mail when my jobs are done]
guillimin_faq [2016/11/03 17:23] (current)
Line 29: Line 29:
 ====== I would like to receive an e-mail when my jobs are done ====== ====== I would like to receive an e-mail when my jobs are done ======
  
-You can use the ''​-M'' ​switch ​in your script header. Example:+You can use the ''​-m''​ and ''​-M'' ​switches ​in your script header. Example:
  
 <​code>​ <​code>​
 ... ...
-#PBS -l nodes=1:​ppn=12 +#PBS -m abe
-#PBS -l walltime=96:​00:​00+
 #PBS -M your.email@address.here #PBS -M your.email@address.here
 ... ...
 </​code>​ </​code>​
  
-This will only send you an e-mail ​if your job fails or produces some kind of error, however.+The ''​-m abe''​ option instructs the scheduler to send you and e-mail ​when your jobs start (b), finish (e) or abort due to an error (a). You can select any combination of the possible options.
guillimin_faq.1429719265.txt.gz · Last modified: 2016/11/03 17:23 (external edit)