[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] [torflow/master 87/92] config: Default mail_interval = None



Author: John M. Schanck <john@xxxxxxxxxxx>
Date: Wed, 18 Aug 2010 13:09:51 -0400
Subject: config: Default mail_interval = None
Commit: 97963d4ef9cc380ad3d6a6c345fab2b08afd8cb2

I recommend using --finishedafter instead
---
 NetworkScanners/ExitAuthority/soat_config.py |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/NetworkScanners/ExitAuthority/soat_config.py b/NetworkScanners/ExitAuthority/soat_config.py
index 850856a..3f4d713 100644
--- a/NetworkScanners/ExitAuthority/soat_config.py
+++ b/NetworkScanners/ExitAuthority/soat_config.py
@@ -46,7 +46,13 @@ refetch_ip = "4.4.4.4"
 # Email settings for email scans.
 from_email = "Tor Exit Scanner <noreply@xxxxxxxxxxxxxx>"
 to_email = ["Tor Exit Scanner List <root@localhost>"]
-mail_interval = 24*60*60 # Remember to change your crontab too!
+
+# If you're running snakeinspector.py with cron you'll want to set
+# mail_interval to the number of seconds between runs.
+# eg.
+# mail_interval = 24*60*60 # Daily email
+mail_interval = None
+
 mail_server = "127.0.0.1"
 # Email authentication
 # If your smtp server requires a username and password, set
-- 
1.7.1