diff options
Diffstat (limited to 'templates/usr_local_bin_pylogsentinel-batch-email.sh.j2')
| -rw-r--r-- | templates/usr_local_bin_pylogsentinel-batch-email.sh.j2 | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/templates/usr_local_bin_pylogsentinel-batch-email.sh.j2 b/templates/usr_local_bin_pylogsentinel-batch-email.sh.j2 deleted file mode 100644 index d28efd9..0000000 --- a/templates/usr_local_bin_pylogsentinel-batch-email.sh.j2 +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -FILE=/tmp/pylogsentinel.daily - -if [ ! -f "$FILE" ]; then - echo "Nothing to do" - exit 0 -fi - -echo "Sending email" -cat "$FILE" | mail -s "pylogsentinel alert batch" root - -echo "Removing batch file" -rm "$FILE" |
