Adds auto-update to containers, enables auto-update for root, sync only at 8 and 20, excludes some files from sync

This commit is contained in:
2026-03-07 17:31:41 +01:00
parent 91e0a6c522
commit e4e3a36c4a
48 changed files with 49 additions and 7 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ target=/var/mnt/nas/containers/nextcloud/storage/data/__groupfolders/1/files/dow
num_torrents="$(find "${torrents}" -mindepth 1 -maxdepth 1 | wc -l)" || echo 0
if [[ "${num_torrents}" -gt 0 ]]; then
mv "${torrents}"* "${target}/"
mv "${torrents}/"* "${target}/"
fi
echo "Found ${num_torrents} torrent files"
num_jdownloader="$(find "${jdownloader}" -mindepth 1 -maxdepth 1 | wc -l)" || echo 0