From 4953174161b0ce317404c639930b95497531f200 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 26 May 2014 12:29:39 +1200 Subject: Clarify a little what it does --- README.markdown | 3 ++- bin/nwatch | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.markdown b/README.markdown index a7af74d..1ec172f 100644 --- a/README.markdown +++ b/README.markdown @@ -13,7 +13,8 @@ Example with root privileges: # nwatch /etc/nwatch.mynet /var/cachedir/nwatch/mynet -Prints the results of the diff to stdout; intended to be called from cron(8): +Prints the results of an `ndiff(1)` call against the last known scan to stdout; +intended to be called from `cron(8)`: 0 0 * * 0 nwatch /etc/nwatch.mynet /var/log/nwatch/mynet diff --git a/bin/nwatch b/bin/nwatch index 2dcad63..5a6bb23 100755 --- a/bin/nwatch +++ b/bin/nwatch @@ -9,8 +9,8 @@ # Example with root privileges: # # nwatch /etc/nwatch.mynet /var/cachedir/nwatch/mynet # -# Prints the results of the diff to stdout; intended to be called from cron(8): -# 0 0 * * 0 nwatch /etc/nwatch.mynet /var/log/nwatch/mynet +# Prints the results of an ndiff(1) call against the last known scan to stdout; +# intended to be called from cron(8): # # I recommend you use croncrypt, so you don't leak your network information in # plain text in your email: -- cgit v1.2.3