I am getting the error:
Last background job execution ran 2 hours ago. Something seems wrong. using cron as the background jobs setting.
Doing some research it seems using the system cron is the best option.
I was going to add the line
docker exec -u www-data nextcloud php cron.php but testing it I get the error
unable to find user www-data: no matching entries in passwd file
so which user should I use? Or am I using the wrong approach all together?