mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
add an AIO outdated notification
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
bdcd4fc240
commit
de137f70ae
5 changed files with 92 additions and 2 deletions
|
|
@ -41,6 +41,9 @@ while true; do
|
|||
# Check for updates and send notification if yes
|
||||
sudo -u www-data php /var/www/docker-aio/php/src/Cron/UpdateNotification.php
|
||||
|
||||
# Check if AIO is outdated
|
||||
sudo -u www-data php /var/www/docker-aio/php/src/Cron/OutdatedNotification.php
|
||||
|
||||
# Remove sessions older than 24h
|
||||
find "/mnt/docker-aio-config/session/" -mindepth 1 -mmin +1440 -delete
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue