Tuning some numbers

This commit is contained in:
Yorhel 2025-10-23 08:35:31 +02:00
parent 902048e282
commit dfa9419b67
3 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@ set -e
mkdir -p ../dl
# Only run once a week
[ -e ../dl/current ] && [ -z $(find ../dl/current -daystart -mtime +7) ] && exit
[ -e ../dl/current ] && [ -z $(find ../dl/current -daystart -mtime +6) ] && exit
# Only keep the last dump
rm -rf $(printf '%s\n' ../dl/????-??-?? | sort | head -n -1)