Submit #3290 ยป 200.accounting.patch
etc/periodic/monthly/200.accounting | ||
---|---|---|
echo ""
|
||
echo "Doing login accounting:"
|
||
rc=$(ac -p -w $W.0 | sort -nr -k 2 | tee /dev/stderr | wc -l)
|
||
rc=$(ac -p -w $W.0 | sort -nr -k 2 | tee -a /dev/stderr | wc -l)
|
||
[ $rc -gt 0 ] && rc=1
|
||
fi
|
||
[ $remove = YES ] && rm -f $W.0;;
|