From: Your Name Date: Wed, 29 Apr 2020 09:11:36 +0000 (+0200) Subject: dayly cleanup X-Git-Tag: 4.2.0~61 X-Git-Url: https://git.p6c8.net/jirafeau_project.git/commitdiff_plain/b7cba998a553a2c2050a44161c08e2cdb507b514 dayly cleanup --- diff --git a/docker/cleanup b/docker/cleanup new file mode 100755 index 0000000..2d2697e --- /dev/null +++ b/docker/cleanup @@ -0,0 +1,9 @@ +#!/bin/sh -e + +while true +do + php /www/admin.php clean_expired + php /www/admin.php clean_async + # wait 24 hours + sleep 86400 +done \ No newline at end of file