aboutsummaryrefslogtreecommitdiffstats
path: root/templates/usr_local_bin_pylogsentinel-batch-email.sh.j2
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2026-05-13 00:13:57 +0300
committerJan Tuomi <jan@jantuomi.fi>2026-05-16 18:42:27 +0300
commitb5860daf11ac353049cb1654b9414a129e5cfb96 (patch)
tree87ed89711e4f0e85ace0a97fa123199152c67302 /templates/usr_local_bin_pylogsentinel-batch-email.sh.j2
parent4715a28fdcd87440400d17154bfa361d99db29cc (diff)
Rework
Diffstat (limited to 'templates/usr_local_bin_pylogsentinel-batch-email.sh.j2')
-rw-r--r--templates/usr_local_bin_pylogsentinel-batch-email.sh.j214
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"