From b7cba998a553a2c2050a44161c08e2cdb507b514 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 29 Apr 2020 11:11:36 +0200 Subject: [PATCH] dayly cleanup --- docker/cleanup | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 docker/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 -- 2.34.1