Jirafeau/docker/cleanup.sh
Jerome Jutteau 420be1d8b3 [FEATURE] add basic docker options
- web_root
- var_root
- admin_password

ref #247

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2021-01-01 21:38:07 +01:00

10 lines
193 B
Bash
Executable File

#!/bin/sh -e
sleep 10 # avoid running cleaning before first setup
while true
do
php /www/admin.php clean_expired
php /www/admin.php clean_async
# wait 24 hours
sleep 86400
done