Commit 69d913a6 authored by fwinkler's avatar fwinkler

Fixed typo.

parent 46862dcd
#!/bin/bash
ERROR_COLLECTION_PATH=/sw/taurus/tools/pika/logs/$(date +"%d-%m-%Y")
SUBJECT="[PIKA] found erros"
SUBJECT="[PIKA] found errors"
MESSAGE=/tmp/pika_email_message
touch $MESSAGE
......@@ -13,7 +13,7 @@ echo "Number of nodes containing errors: ${ERROR_COUNT}" >> $MESSAGE
echo "" >> $MESSAGE
ls -1 >> $MESSAGE
# send if email log exists
# send email if log exists
if [ -d "$ERROR_COLLECTION_PATH" ]; then
mail -S smtp=mailin5.zih.tu-dresden.de -s "$SUBJECT" -r $HOSTNAME@taurus.hrsk.tu-dresden.de frank.winkler@tu-dresden.de < $MESSAGE
mail -S smtp=mailin5.zih.tu-dresden.de -s "$SUBJECT" -r $HOSTNAME@taurus.hrsk.tu-dresden.de robert.dietrich@tu-dresden.de < $MESSAGE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment