currently cron is default, being called every 5 minutes. I wanted to increase this time to 15 minutes, for example, but I didn’t find a place where I can change it.
My nextcloud installation is through docker. Cron is also installed in a docker container. Below I will make the compose available. If anyone can help me I would be grateful, thank you!
services:
cron:
image: nextcloud:latest
restart: always
volumes:
- /srv/dev-disk-by-uuid-1dc14d40-e814-4aac-8659-13b7bc409e99/brteste/Aplications/Nextcloud/app:/var/www/html
entrypoint: /cron.sh
depends_on:
- db
- app
db:
image: mariadb:11.4
restart: always
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
volumes:
- /srv/dev-disk-by-uuid-4d956ca1-ebeb-43bf-9563-6b4bb934082f/BR-DADOS/Aplications/Nextcloud/db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=xxxx
- MYSQL_PASSWORD=xxxx
- MYSQL_DATABASE=xxxx
- MYSQL_USER=xxxx
- MARIADB_AUTO_UPGRADE="1"
app:
image: nextcloud:latest
restart: always
ports:
- 8080:80
links:
- db
depends_on:
- db
volumes:
- /srv/dev-disk-by-uuid-1dc14d40-e814-4aac-8659-13b7bc409e99/brteste/Aplications/Nextcloud/app:/var/www/html
environment:
- MYSQL_PASSWORD=xxxx
- MYSQL_DATABASE=xxxx
- MYSQL_USER=xxxx
- MYSQL_HOST=xxxx