#!/bin/bash service apache2 start & while true do su -u wwww-data php -f /var/www/nextcloud/cron.php sleep 300; done /bin/sh