Remove old template backup files

This commit is contained in:
kx1t
2025-01-13 07:15:36 -05:00
committed by GitHub
parent e64d58e260
commit e656fe4b68

View File

@@ -60,6 +60,7 @@ CLEANUP ()
find /usr/share/planefence/persist/.internal/*.tmp -type f ! -newer /tmp/timestamp -delete 2>/dev/null
find /usr/share/planefence/persist/.internal/*.log -type f ! -newer /tmp/timestamp -delete 2>/dev/null
find /usr/share/planefence/persist/.internal/dump1090-pf-*.tmp -type f ! -newer /tmp/timestamp -delete 2>/dev/null
find /usr/share/planefence/persist/plane{fence,-alert}-discord.template.~[0-9]*~ -type f ! -newer /tmp/timestamp -delete 2>/dev/null
rm -f /tmp/heatmap-*.log
find /tmp -mindepth 1 -type f ! -newer /tmp/timestamp -delete 2>/dev/null
rm -f /tmp/timestamp