OsmAnd/config/server_indexes_scripts/gen_finished_mail.sh
2011-09-20 21:19:13 +02:00

11 lines
409 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 -alrth indexes >> mail.txt
mail -s "Generating indexes finsihed or crashed" pavol.zibrita+index@gmail.com < mail.txt
mail -s "Generating indexes finsihed or crashed" victor.shcherb+index@gmail.com < mail.txt