This commit is contained in:
2024-03-09 20:30:09 +08:00
commit 54ab377e94
4 changed files with 81 additions and 0 deletions

6
nextcloud_clean.sh Executable file
View File

@@ -0,0 +1,6 @@
#! /bin/bash
LOG_FILE="/home/awin/log/nextcloud_clean.log"
sudo docker exec --user www-data nextcloud-nextcloud-1 php /var/www/html/cron.php
echo "$(date +'%F %R:%S'): Nexcloud clean finished." > $LOG_FILE