Add CRON_MEMORY_LIMIT (#116)

This commit is contained in:
Lorenz Brun
2017-02-15 15:12:09 +01:00
committed by Wonderfall
parent 319ca5b4a3
commit 4d8fa9ed40
4 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
while true; do
php7 -f /nextcloud/cron.php
php7 -d memory_limit=<CRON_MEMORY_LIMIT> -f /nextcloud/cron.php
sleep <CRON_PERIOD>
done