Create registrator role
This commit is contained in:
parent
168641b728
commit
04c7efe706
7 changed files with 174 additions and 0 deletions
12
roles/registrator/files/garaze_racunovodstvo.sh
Normal file
12
roles/registrator/files/garaze_racunovodstvo.sh
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/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
|
Loading…
Add table
Add a link
Reference in a new issue