Skip to content
Snippets Groups Projects
Unverified Commit e1be1b3a authored by diedpigs's avatar diedpigs Committed by GitHub
Browse files

Merge pull request #8 from diedpigs/feat-email-notify

Feature email notification
parents 9ba7ec0e 446770fe
No related branches found
No related tags found
No related merge requests found
# Job submission configuration file
#
<%-
email = ENV['USER']
if !email.include? '@'
email = email + '@uab.edu'
end
-%>
---
# This config comes from below URL
# https://github.com/OSC/bc_example_jupyter/blob/custom_environment/submit.yml.erb
......@@ -22,3 +28,7 @@ script:
<%- if bc_partition.include? "pascalnodes" -%>
- "--gres=gpu:1"
<%- 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