summaryrefslogtreecommitdiff
path: root/pistar-send-activity-report
diff options
context:
space:
mode:
authorJason D. McCormick <jason@mfamily.org>2019-06-19 17:46:07 -0400
committerJason D. McCormick <jason@mfamily.org>2019-06-19 17:46:07 -0400
commit77fe087b2edc25a90361ea80691530f376e2dc46 (patch)
treef5a9a103d27849fb51601799d5360bdf260d334f /pistar-send-activity-report
parent9de1ab099d6b1c2ff75a348c5868e04d8bc26149 (diff)
added
Diffstat (limited to 'pistar-send-activity-report')
-rwxr-xr-xpistar-send-activity-report8
1 files changed, 8 insertions, 0 deletions
diff --git a/pistar-send-activity-report b/pistar-send-activity-report
new file mode 100755
index 0000000..034c785
--- /dev/null
+++ b/pistar-send-activity-report
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+if [ -z $1 ] || [ -z $2 ]; then
+ echo "Usage: $0 SEND_ADDR REC_ADDR[,REC_ADDR...]"
+ exit 1
+fi
+
+/usr/local/sbin/pistar-activity-report -s "$1" -r "$2" | sendmail -oi -oem "$2"