====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
guillimin_faq [2015/04/22 14:11] 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 ====== | ||
- | Just 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. |