Project

General

Profile

Submit #3290 ยป 200.accounting.patch

falsifian, 07/18/2021 05:36 PM

View differences:

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;;
    (1-1/1)