From 1e1ff52e3cbed3742405d6c73fb0ec845e0139ed Mon Sep 17 00:00:00 2001 From: root Date: Wed, 17 Jul 2024 18:58:18 +0000 Subject: [PATCH] Added another cron and truncate for testing --- lib/functions.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/functions.sh b/lib/functions.sh index d6d353a..47562ac 100644 --- a/lib/functions.sh +++ b/lib/functions.sh @@ -1712,6 +1712,8 @@ config_network() { kill -9 $SPINPID &> /dev/null } run_finishtasks() { + docker exec -u 33 nextcloud php -f /var/www/html/cron.php + docker exec -u 33 nextcloud truncate /var/www/html/data/nextcloud.log --size 0 docker exec -u 33 nextcloud php -f /var/www/html/cron.php docker exec -u 33 nextcloud truncate /var/www/html/data/nextcloud.log --size 0 docker system prune -a -f