]> git.p6c8.net - jirafeau_mojo42.git/blobdiff - docker/cleanup.sh
[TASK] rework user auth
[jirafeau_mojo42.git] / docker / cleanup.sh
index 2d2697e6af8ea43bccd838f5a923f556c72eac71..9c15d7530192e94e75f44fc47d8168e8d781d7ae 100755 (executable)
@@ -1,9 +1,9 @@
 #!/bin/sh -e
 #!/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
 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
+done

patrick-canterino.de