Merge branch 'main' of dev.zaks.web.za:thisiszeev/nextcloud-telegram-notify

This commit is contained in:
Ze'ev Schurmann 2024-02-01 04:34:21 +02:00
commit aebe3df404
1 changed files with 11 additions and 0 deletions

View File

@ -6,6 +6,17 @@ Get notified when stuff happens on your Nextcloud Install.
If you don't know how to set up a Telegram bot and channel then google it.
## checknewusers.sh
![screenshot](images/checknewusers.png)
Run this as a cronjob. It will send you a Telegram whenever a new user registers or a new user is added.
Example crontab entry to check for updates every 15 minutes:
````
*/15 * * * * root bash /root/scripts/nextcloud-telegram-notify/checknewusers.sh
````
## checkupdates.sh
![screenshot](images/checkupdates.png)