diff --git a/start.sh b/start.sh index b79bb9a..8d08396 100644 --- a/start.sh +++ b/start.sh @@ -2,7 +2,7 @@ service apache2 start & while true do - su - www-data php -f /var/www/nextcloud/cron.php + su -s /bin/bash www-data -c "php -f /var/www/nextcloud/cron.php" sleep 300; done /bin/sh