diff --git a/an.py b/an.py index 66cf7d64f02fa148da4c37890e6c4da4ea5f8b09..92e3a59eb94b514ee180a5fabce1959e723feaee 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 ##########################