Jirafeau/docker/cleanup.sh
Jerome Jutteau 36e0d29e64 [TASK] add structure for docker configuration
For now only one option is available: FILE_HASH
You can run Jirafeau's docker with -e FILE_HASH="random" to disable file hashing.

ref #146

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
2020-12-13 22:23:15 +01:00

10 lines
141 B
Bash
Executable File

#!/bin/sh -e
while true
do
php /www/admin.php clean_expired
php /www/admin.php clean_async
# wait 24 hours
sleep 86400
done