#!/bin/sh GARAZEDIR="~/garaze/tmp" # RECIPIENTS="polz@fri.uni-lj.si" # RECIPIENTS="anita.strmole@fri.uni-lj.si" # RECIPIENTS="racunovodstvo@fri.uni-lj.si" RECIPIENTS="$(cat ~/garage_recipients.txt)" # cd /home/registrator/siemens-spica-rilec rm $GARAZEDIR/*.xlsx ~/siemens-spica-rilec/garage_count.py --employee --calculation --format xlsx ~/data "$GARAZEDIR/garaze_{start}_{end}.xlsx" echo "Garaže za pretekli mesec" | mail -s "Garaže za pretekli mesec" "$RECIPIENTS" -A $GARAZEDIR/*.xlsx