[Unit]
Description=Nextcloud cron.php background job
[Service]
User=nextcloud
ExecStart=/usr/bin/php -f /usr/share/webapps/nextcloud/cron.php
[Install]
WantedBy=basic.target