How to run Nextcloud cron job manually using docker-compose
For docker-compose based Nextcloud installations, this is the command to run the cron job manually:
docker-compose exec -u www-data nextcloud php cron.php
You need to run this from the directory where docker-compose.yml
is located.