17 lines
560 B
Django/Jinja
17 lines
560 B
Django/Jinja
# m h dom mon dow command
|
|
|
|
{% for item in nextclouds %}
|
|
{% if item.cron %}
|
|
*/15 * * * * root /usr/bin/docker exec --user www-data {{ item.name }} php cron.php >> {{ item.root }}/cron.log 2>&1
|
|
# */15 * * * * root /usr/bin/docker exec --user www-data {{ item.name }} php occ preview:pre-generate >> {{ item.root }}/preview.log 2>&1
|
|
|
|
12 12 * * * root /usr/bin/docker exec --user www-data {{ item.name }} php occ app:update --all
|
|
|
|
# */5 * * * * {{ myusername }} /usr/local/bin/nextcloud-influx.py >> /tmp/nextcloud-influx.log 2>&1
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
#
|