I have been using the qsub system for a while now, but the first time I have encountered some problems: Is there a way to send multiple emails to two or more emails?
Here is my script header:
#!/bin/bash
#PBS -V
#PBS -l nodes=1:ppn=20
#PBS -l walltime=12:00:00
#PBS -M email1@school.edu,email2@gmail.com
#PBS -N Model_sim
I have tried the following methods:
I have searched online for a while for if I can do something at -M
command, I have seen only one use here: http://gridscheduler.sourceforge.net/htmlman/htmlman1/qsub.html. However, it is not really working when I put my two emails like he did on the end of the page.
Also, I have tried the Bash tricks, but it seems like I can't insert any Bash lists after #PBS -M
flag, or it shows me the syntax error.
If anyone knows anything regarding to this case, thank you to sharing the knowledge! Any suggestions would also recommanded!
Thanks
It is actually pretty easy, using ;
instead of ,
:
#PBS -M email1@school.edu;email2@gmail.com