about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorMalte Brandy <malte.brandy@maralorn.de>2021-10-30 14:22:09 +0200
committerMalte Brandy <malte.brandy@maralorn.de>2021-10-30 14:22:22 +0200
commit868157b9d6b53f385eba993320f97a182c9d6ed7 (patch)
tree5cf6b04c4c8838813d9e025fddce88fa130fd23d /nixos
parent0686c5c10b7043eb8dc40083a83b65686353646d (diff)
downloadnixlib-868157b9d6b53f385eba993320f97a182c9d6ed7.tar
nixlib-868157b9d6b53f385eba993320f97a182c9d6ed7.tar.gz
nixlib-868157b9d6b53f385eba993320f97a182c9d6ed7.tar.bz2
nixlib-868157b9d6b53f385eba993320f97a182c9d6ed7.tar.lz
nixlib-868157b9d6b53f385eba993320f97a182c9d6ed7.tar.xz
nixlib-868157b9d6b53f385eba993320f97a182c9d6ed7.tar.zst
nixlib-868157b9d6b53f385eba993320f97a182c9d6ed7.zip
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.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/web-apps/nextcloud.nix2
1 files changed, 1 insertions, 1 deletions
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";
       };