Background jobs not executed

Hello
i’m devlopping an app for nextcloud, i need to create a backgroud queued job for that i’m following the developpement documentation Background jobs (Cron) — Nextcloud latest Developer Manual latest documentation: a request is received in a controller the controller add the job to the IJobList object and return ok the the user. the user is receiving the response and i get no error in the logs, but the job is not executed. Am i missing some thing?

thanks

do you have a cron runner configured in your dev env? See https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/background_jobs_configuration.html#cron for infos. You could run php -f cron.php to trigger cron runs.

1 Like