Skip to content
Snippets Groups Projects
Commit 952c1cb1 authored by kpetersn's avatar kpetersn
Browse files

Make linux email notifications the default (2014-12-17)

parent 4e92896b
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python #!/APSshare/epd/rh6-x86_64/bin/python
# TODO: # TODO:
# Allow engineer to be passed as an argument # Allow engineer to be passed as an argument
...@@ -16,7 +16,7 @@ import sys ...@@ -16,7 +16,7 @@ import sys
engineer = "Peterson" engineer = "Peterson"
# period should match cron job period # period should match cron job period
period = 60 period = 600
# needed for notifyOSX() # needed for notifyOSX()
osx_command = "/Users/kpetersn/Applications/terminal-notifier.app/Contents/MacOS/terminal-notifier" osx_command = "/Users/kpetersn/Applications/terminal-notifier.app/Contents/MacOS/terminal-notifier"
...@@ -45,8 +45,8 @@ def notifyCombo(ioc, state, time_str): ...@@ -45,8 +45,8 @@ def notifyCombo(ioc, state, time_str):
# set notification function # set notification function
#!notify = notifyConsole #!notify = notifyConsole
#!notify = notifyEmail notify = notifyEmail
notify = notifyOSX #!notify = notifyOSX
#!notify = notifyCombo #!notify = notifyCombo
########################## ##########################
......
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