Skip to content

Commit

Permalink
email sample list in error mail
Browse files Browse the repository at this point in the history
  • Loading branch information
patidarr committed Sep 13, 2016
1 parent f24a9bd commit 0aecdc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/config_cluster.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@
"job_igvtools" : "-l nodes=1:ppn=01,mem=10gb,walltime=96:00:00",
"job_novoalign1" : "-l nodes=2:ppn=16,mem=47gb,walltime=96:00:00",
"job_novoalign" : "-l nodes=1:ppn=16,mem=47gb,walltime=96:00:00",
"job_deFuse" : "-l nodes=tghighmem-01:ppn=26,mem=200gb,walltime=96:00:00"
"job_deFuse" : "-q hmem -l nodes=1:ppn=16,mem=200gb,walltime=96:00:00"
}
}
2 changes: 1 addition & 1 deletion ngs_pipeline.snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ onerror:
shell("find .snakemake/ -group $USER -exec chgrp -f {GROUP} {{}} \;")
shell("find . -group $USER -exec chgrp -f {GROUP} {{}} \;")
shell("find . \( -type f -user $USER -exec chmod g+rw {{}} \; \) , \( -type d -user $USER -exec chmod g+rwx {{}} \; \)")
shell("ssh {HOST} \"echo 'Error occured in the ngs-pipeline on {HOST}. Working Dir: {WORK_DIR}' |mutt -s 'Khanlab ngs-pipeline Status' `whoami`@mail.nih.gov {MAIL} \"")
shell("ssh {HOST} \"echo 'Pipeline failed on {PATIENTS}. Error occured on {HOST}. Working Dir: {WORK_DIR}' |mutt -s 'Khanlab ngs-pipeline Status' `whoami`@mail.nih.gov {MAIL} \"")
onstart:
shell("ssh {HOST} \"echo 'ngs-pipeline started on {PATIENTS} on {HOST}. Working Dir: {WORK_DIR}' |mutt -s 'Khanlab ngs-pipeline Status' `whoami`@mail.nih.gov {MAIL} \"")
onsuccess:
Expand Down

0 comments on commit 0aecdc7

Please sign in to comment.