Update start.sh

pull/6/head
RandomNinjaAtk 3 years ago committed by GitHub
parent 601dd6e458
commit 95e577c0df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -16,7 +16,7 @@ for (( ; ; )); do
rm "/config/logs/log-cleanup"
fi
touch -d "8 hours ago" "/config/logs/log-cleanup"
if find "/config/logs" -type f -iname "extended_script_run_*.txt" -not -newer "/config/extended/logs/log-cleanup" | read; then
if find "/config/logs" -type f -iname "extended_script_run_*.txt" -not -newer "/config/logs/log-cleanup" | read; then
find "/config/logs" -type f -iname "*.log" -not -newer "/config/logs/log-cleanup" -delete
fi
if [ -f "/config/logs/log-cleanup" ]; then

Loading…
Cancel
Save