sample crontab file

This commit is contained in:
brmbar 2018-04-02 01:40:37 +02:00
parent 1f3f1cdd8f
commit e2e6632df0
3 changed files with 24 additions and 0 deletions

6
brmbar3/log.sh Executable file
View file

@ -0,0 +1,6 @@
#!/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