From 8fe4bd27fac3659f515cc266676534c86f8881e7 Mon Sep 17 00:00:00 2001 From: thisiszeev Date: Mon, 5 Feb 2024 18:50:16 +0200 Subject: [PATCH] Update 'README.md' --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 8fce1c9..8e0e30c 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,17 @@ Example crontab entry to check for updates every 4 hours: 00 */4 * * * root bash /root/scripts/nextcloud-telegram-notify/checkupdates.sh ```` +## failedlogins.sh + +![screenshot](images/failedlogins.png) + +Run this as a cronjob. It will send you a Telegram whenever a failed login occurs. + +Example crontab entry to check for new failed logins every 5 minutes: +```` +*/5 * * * * root bash /root/scripts/nextcloud-telegram-notify/checknewusers.sh +```` + ## logwatch.sh ![screenshot](images/logwatch.png)