From 9d6c21ce6528d5e81977a5f7f422ce4f15a5d17f Mon Sep 17 00:00:00 2001 From: Emery Date: Thu, 10 Mar 2022 10:13:17 -0600 Subject: [PATCH] nncp: hourly calls --- hosts/containers/nncp/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/hosts/containers/nncp/default.nix b/hosts/containers/nncp/default.nix index 84f0b600..1f00e497 100644 --- a/hosts/containers/nncp/default.nix +++ b/hosts/containers/nncp/default.nix @@ -20,9 +20,8 @@ mcd-send.eth0 = 60; neigh = # use c3d2.nncp.neigh but remove this node let - nightCall = { - cron = "0 0 4 * * * *"; # 4:00 - maxonlinetime = 14400; # vier stunde + hourlyCall = { + cron = "0 42 * * * * *"; # 4:00 xx = "tx"; # transmit only when-tx-exists = true; }; @@ -30,7 +29,7 @@ value // { via = lib.lists.remove "c3d2" value.via; } // (lib.attrsets.optionalAttrs (value.addrs or { } != { }) { - calls = [ nightCall ]; + calls = [ hourlyCall ]; })) (builtins.removeAttrs config.c3d2.nncp.neigh [ "c3d2" ]); }; };