forked from brmlab/brmbar-github
sample crontab file
This commit is contained in:
parent
1f3f1cdd8f
commit
e2e6632df0
3 changed files with 24 additions and 0 deletions
6
brmbar3/log.sh
Executable file
6
brmbar3/log.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue