nextcloud cron task
BigMichi1 opened this issue · 1 comments
BigMichi1 commented
as Nextcloud needs to perform some cron related actions the documentation https://mailcow.github.io/mailcow-dockerized-docs/third_party/third_party-nextcloud/ should be extended to include a part on how to configure/enable the cron task.
I achieved it by adding this part to my docker-compose.override.yml
and running docker-compose up -d && docker-compose restart ofelia
version: '2.1'
services:
php-fpm-mailcow:
labels:
ofelia.enabled: "true"
ofelia.job-exec.nextcloud-cron.schedule: "@every 5m"
ofelia.job-exec.nextcloud-cron.command: "su www-data -s /bin/bash -c \"/usr/local/bin/php -f /web/nextcloud/cron.php\""
MAGICCC commented
If you want you can create a PR for that