From 842ce45fc42bb30e35d075722a7bfa833b1b799d Mon Sep 17 00:00:00 2001 From: Manuel Kamper Date: Thu, 28 Dec 2023 18:31:17 +0000 Subject: [PATCH] Readme.md aktualisiert --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 135cdc0..97205ea 100644 --- a/Readme.md +++ b/Readme.md @@ -29,7 +29,7 @@ df -h / | awk '$NF > "{{threshold}}%" {print $1}' | while read disk; do # Check if the disk usage is above the threshold if [ "$disk" -gt "$threshold" ]; then # Send an email notification - echo "Disk $disk is full!" | mail -s "Disk Full Alert" "$email" + echo "Disk $disk is full!" | mail -s "Disk Full Alert" $email fi done ```