forked from brmlab/brmbar-github
6 lines
149 B
Bash
Executable file
6 lines
149 B
Bash
Executable file
#!/bin/bash
|
|
p=`/home/brmlab/brmbar/brmbar3/brmbar-cli.py userlog "$1" yesterday`
|
|
|
|
if [ -n "$p" ]; then
|
|
echo "$p" | mail -s "brmbar report" "$2"
|
|
fi
|