commit d7fc31b16f9615ee52e18526bbda8d7f83e516a7
Author: David Sorber <dsorber@phalanx.fios-router.home>
Date:   Tue Nov 22 18:22:14 2016 -0500

    Minor updates to the checker script to include full paths for the utilities that it calls.

diff --git a/software/misc/checker.py b/software/misc/checker.py
index 1627f87..e665558 100755
--- a/software/misc/checker.py
+++ b/software/misc/checker.py
@@ -46,7 +46,7 @@ def check_smart(devices):
     for device in devices:
         # Get information about this device and SMART health check; prune the 
         # smartmontools banner from the output
-        cmd = 'smartctl -iH /dev/{:s}'.format(device)
+        cmd = '/usr/sbin/smartctl -iH /dev/{:s}'.format(device)
         cmd_out = subprocess.check_output(cmd, shell=True)
         raw_out = cmd_out.decode('utf-8').strip().split('\n')[4:]
         
@@ -77,7 +77,7 @@ def check_raid(devices):
     
     for device in devices:
         # Get information about this device
-        cmd = 'mdadm --detail /dev/{:s}'.format(device)
+        cmd = '/sbin/mdadm --detail /dev/{:s}'.format(device)
         cmd_out = subprocess.check_output(cmd, shell=True)
         raw_out = cmd_out.decode('utf-8').strip().split('\n')
         
@@ -132,8 +132,8 @@ def main():
     if not errors:
         output.insert(2, 'All OKAY.\n')
         
-        # Send an email every Thursday even if status is okay
-        if timestamp.weekday() == 3:
+        # Send an email every Thursday at 3 AM even if status is okay
+        if timestamp.weekday() == 3 and timestamp.hour == 3:
             should_send = True
     else:
         # Send email if there were any errors
