ansible-role-docker_nextcloud/templates/nextcloud_cron

6 lines
289 B
Text
Raw Permalink Normal View History

PATH=/usr/sbin:/usr/sbin:/usr/bin:/sbin:/bin
MAILTO=""
*/5 * * * * root cd /opt/{{ docker_nextcloud_service_id }} && docker compose exec -u www-data nextcloud php -f cron.php {% if docker_nextcloud_healthchecks_url is defined %}&& curl {{ docker_nextcloud_healthchecks_url }}{% endif %}