From 213aeacbdcbd01cc60ba72ee7e3ed2edc8bdcac3 Mon Sep 17 00:00:00 2001 From: mwiegand Date: Sat, 16 Oct 2021 13:44:51 +0200 Subject: [PATCH] nc cron --- bundles/nextcloud/metadata.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bundles/nextcloud/metadata.py b/bundles/nextcloud/metadata.py index 642c536..49ad2ba 100644 --- a/bundles/nextcloud/metadata.py +++ b/bundles/nextcloud/metadata.py @@ -52,6 +52,12 @@ defaults = { }, }, }, + 'systemd-timers': { + 'nextcloud-cron': { + 'command': '/usr/bin/sudo -u www-data /usr/bin/php -f /opt/nextcloud/cron.php', + 'when': '*:0/5', + }, + }, 'zfs': { 'datasets': { 'tank/nextcloud': {