typofix
This commit is contained in:
parent
3b6afc90ec
commit
17eba653ef
1 changed files with 3 additions and 3 deletions
|
|
@ -139,12 +139,12 @@ cleanup_big_files(){
|
|||
}
|
||||
|
||||
delete_big_files(){
|
||||
#./manyfold infinite 86400 cleanup_big_files /mnt/models 5 5 & # 5 days for files over 5MB (5 in 2025, 6 in 2026 e.g. ?)
|
||||
# check every day to delete files older than 5 days and >5mb (5mb in 2025, 6mb in 2026 e.g.)
|
||||
test -z "$NO_DELETEBIGFILES" && {
|
||||
intervalSec=86400 # = 1 day
|
||||
everySeconds=86400 # = 1 day
|
||||
maxMB=$(( $(date +%Y) - 2020 ))
|
||||
$0 infinite 5 cleanup_big_files /mnt/models $intervalSec $maxMB &
|
||||
maxDays=5
|
||||
$0 infinite $everySeconds cleanup_big_files /mnt/models $maxDays $maxMB &
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue