OsmAnd/config/server_indexes_scripts/gen_finished_mail.sh
2011-09-13 23:43:00 +00:00

11 lines
408 B
Bash
Executable file

#!/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