nncp: hourly calls
This commit is contained in:
parent
6c6d4a18ff
commit
9d6c21ce65
|
@ -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" ]);
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue