Skip to content
Snippets Groups Projects
Commit 049ff0c2 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Send email notify when slurm job BEGIN

parent 8a28f8b5
No related branches found
No related tags found
1 merge request!11Feature email notification
<%-
email = ENV['USER']
if !email.include? '@'
email = email + '@uab.edu'
end
-%>
--- ---
batch_connect: batch_connect:
template: "vnc" template: "vnc"
...@@ -14,3 +20,7 @@ script: ...@@ -14,3 +20,7 @@ script:
<%- if bc_partition.include? "pascalnodes" -%> <%- if bc_partition.include? "pascalnodes" -%>
- "--gres=gpu:1" - "--gres=gpu:1"
<%- end -%> <%- end -%>
<%- if bc_email_on_started == "1" -%>
- "--mail-type=BEGIN"
- "--mail-user=<%= email %>"
<%- end -%>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment