From 952c1cb1ed85176e38eae2b1182a53ced0c7f798 Mon Sep 17 00:00:00 2001
From: kpetersn <kmpeters@anl.gov>
Date: Fri, 16 Feb 2018 10:26:09 -0600
Subject: [PATCH] Make linux email notifications the default (2014-12-17)

---
 an.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/an.py b/an.py
index 66cf7d6..92e3a59 100755
--- a/an.py
+++ b/an.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/APSshare/epd/rh6-x86_64/bin/python
 
 # TODO:
 #   Allow engineer to be passed as an argument
@@ -16,7 +16,7 @@ import sys
 
 engineer = "Peterson"
 # period should match cron job period
-period = 60
+period = 600
 
 # needed for notifyOSX()
 osx_command = "/Users/kpetersn/Applications/terminal-notifier.app/Contents/MacOS/terminal-notifier"
@@ -45,8 +45,8 @@ def notifyCombo(ioc, state, time_str):
 
 # set notification function
 #!notify = notifyConsole
-#!notify = notifyEmail
-notify = notifyOSX
+notify = notifyEmail
+#!notify = notifyOSX
 #!notify = notifyCombo
 
 ##########################
-- 
GitLab