cache-html: Fractional sleep & run after cron

This commit is contained in:
Yorhel 2025-05-26 07:53:57 +02:00
parent bed455039e
commit 9c16eba485
2 changed files with 6 additions and 2 deletions

View file

@ -12,3 +12,7 @@ PSQL="psql -U manned -Awtq"
echo "============ Updating SQL indices"
$PSQL -f update_indices.sql
echo "============ Updating HTML cache"
test -f .config && source ./.config
./cache-html.pl --batch=5 --delay=0.5 --maxbatches=100