diff --git a/nextcloud/cron.sh b/nextcloud/cron.sh index 47cff09..4beb6fb 100755 --- a/nextcloud/cron.sh +++ b/nextcloud/cron.sh @@ -4,7 +4,7 @@ set -e echo "Preparing environment" cp /opt/config/config.php /var/www/nextcloud/config/config.php chown -R www-data /var/www/nextcloud/config /var/www/nextcloud/apps /opt/log -chmod +x ./occ +chmod +x /var/www/nextcloud/occ mkdir -p /run/php export USER=www-data HOME=/home/www-data