[Unit] Description=Nextcloud {{ instance_name }} background jobs After=network-online.target Wants=network-online.target [Service] Type=oneshot ExecStart={{ cron_script_path }} # Type=oneshot disables the start timeout by default, so a wedged cron.php # would leave the unit "activating" forever and every subsequent 5-minute # trigger would be silently skipped. Bound it. TimeoutStartSec={{ cron_timeout | default('30m') }} Nice=10