OsmAnd/config/server_indexes_scripts/gen_finished_mail.sh

12 lines
408 B
Bash
Raw Normal View History

2011-09-14 01:40:49 +02:00
#!/bin/bash
# the CC field
echo > mail.txt
echo "Index generating finished or crashed." >> mail.txt
echo "List is sorted by time, first elements are the last created" >> mail.txt
echo >> mail.txt
ls -alt indexes >> mail.txt
mail -s "Generating indexes finsihed or chrased" pavol.zibrita+index@gmail.com < mail.txt
#mail -s "Generating indexes finsihed or chrased" victor.shcherb+index@gmail.com < mail.txt