From 868157b9d6b53f385eba993320f97a182c9d6ed7 Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Sat, 30 Oct 2021 14:22:09 +0200 Subject: [PATCH] nixos/nextcloud: Adapt cron frequency to changed upstream requirement https://docs.nextcloud.com/server/22/admin_manual/configuration_server/background_jobs_configuration.html Says that the job should be run every 5 minutes. Nextcloud shows a warning in the settings screen whenever the last run was more than 10 minutes ago. --- nixos/modules/services/web-apps/nextcloud.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix index e6785d8d1835..04ec7888950d 100644 --- a/nixos/modules/services/web-apps/nextcloud.nix +++ b/nixos/modules/services/web-apps/nextcloud.nix @@ -586,7 +586,7 @@ in { { systemd.timers.nextcloud-cron = { wantedBy = [ "timers.target" ]; timerConfig.OnBootSec = "5m"; - timerConfig.OnUnitActiveSec = "15m"; + timerConfig.OnUnitActiveSec = "5m"; timerConfig.Unit = "nextcloud-cron.service"; };