summaryrefslogtreecommitdiff
path: root/pistar/pistar-send-activity-report
blob: 034c785d9c30328287e9a616ba9e3c37a7c65767 (plain)
1
2
3
4
5
6
7
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"