.bra {
.ket }
.key user/A

;
; call me to calculate the money statistics and to send them to a user
;

cd uucp:traffic

echo >t:xstatmail "Cost-Survey created: " NOLINE
date >>t:xstatmail

xstat NOOUTGO FILE uucp:traffic/xferstat.week QUIET HOSTNAME #? >> t:xstatmail
xstat NOINCOM FILE uucp:traffic/xferstat.week QUIET HOSTNAME #? >> t:xstatmail

sendmail <t:xstatmail -f Cost-Daemon -R Cost-Surveillance-Daemon -t {user}  -s "Cost Surveillance created" -raw

del t:xstatmail
