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
|
2011-09-20 21:18:46 +02:00
|
|
|
ls -alrth indexes >> mail.txt
|
2011-09-14 01:40:49 +02:00
|
|
|
|
2011-09-20 21:18:46 +02:00
|
|
|
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
|