summaryrefslogtreecommitdiff
path: root/pistar-send-activity-report
diff options
context:
space:
mode:
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"