Send of notifications via cron.php

Hello,

I have the following problem. I host Nextcloud instance in an official Docker image and a reverse proxy (via nom - nginx proxy manager). Everything is working fine so far, except that the triggered cronjob via PHP and cron.php doesn’t seem to work. The cronjob itself works. I use this instruction from the doc.

          • /usr/local/bin/php -d memory_limit=-1 -f /var/www/html/cron.php >> /var/www/html/cron.log

Unfortunately, as a workaround, I have to use the root server’s cron and execute via:

docker exec -t -u33 nextcloud_docker_nextcloud_1 php -f ./occ activity:send-mails

to trigger the sending of the emails. This does not work for notifications. Sending individual and test notifications via

notification:test-push works.

Do you guys have any idea what I might have missed?

Thanks and greetings

Translated with DeepL Translate: The world's most accurate translator (free version)