summaryrefslogtreecommitdiff
path: root/pistar/pistar-send-activity-report
diff options
context:
space:
mode:
authorJason D. McCormick <jason@mfamily.org>2020-04-07 14:22:14 -0400
committerJason D. McCormick <jason@mfamily.org>2020-04-07 14:22:14 -0400
commit3d62afb6bc0f708c5506430267bc217c24c22eda (patch)
treefffeb154499b51f6d1d9e6373977ce0e24cf9777 /pistar/pistar-send-activity-report
parent514767dc3e5f8ee03d8f3d0e62daca512bfe7f0e (diff)
move pistar files
Diffstat (limited to 'pistar/pistar-send-activity-report')
-rwxr-xr-xpistar/pistar-send-activity-report8
1 files changed, 8 insertions, 0 deletions
diff --git a/pistar/pistar-send-activity-report b/pistar/pistar-send-activity-report
new file mode 100755
index 0000000..034c785
--- /dev/null
+++ b/pistar/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"