]> git.p6c8.net - jirafeau_mojo42.git/blob - docker/cleanup.sh
Define some Sodium constants from newer PHP versions if they are not available
[jirafeau_mojo42.git] / docker / cleanup.sh
1 #!/bin/sh -e
2 sleep 10 # avoid running cleaning before first setup
3 while true
4 do
5 php /www/admin.php clean_expired
6 php /www/admin.php clean_async
7 # wait 24 hours
8 sleep 86400
9 done

patrick-canterino.de