diff --git a/README.md b/README.md index 62af389..0defdd2 100644 --- a/README.md +++ b/README.md @@ -26,4 +26,15 @@ Run this as a cronjob. It will send you no more than one Telegram per day if the Example crontab entry to check for updates every 4 hours: ```` 00 */4 * * * root bash /root/scripts/nextcloud-telegram-notify/checkupdates.sh +```` + +## logwatch.sh + +![screenshot](images/logwatch.png) + +Run this as a cronjob. It will send you a Telegram every time the log file receives an update, but only at the log level you preselect. + +Example crontab entry to check for updates every 15 minutes: +```` +*/15 * * * * root bash /root/scripts/nextcloud-telegram-notify/logwatch.sh ```` \ No newline at end of file