nncp: hourly calls
This commit is contained in:
parent
6c6d4a18ff
commit
9d6c21ce65
|
@ -20,9 +20,8 @@
|
||||||
mcd-send.eth0 = 60;
|
mcd-send.eth0 = 60;
|
||||||
neigh = # use c3d2.nncp.neigh but remove this node
|
neigh = # use c3d2.nncp.neigh but remove this node
|
||||||
let
|
let
|
||||||
nightCall = {
|
hourlyCall = {
|
||||||
cron = "0 0 4 * * * *"; # 4:00
|
cron = "0 42 * * * * *"; # 4:00
|
||||||
maxonlinetime = 14400; # vier stunde
|
|
||||||
xx = "tx"; # transmit only
|
xx = "tx"; # transmit only
|
||||||
when-tx-exists = true;
|
when-tx-exists = true;
|
||||||
};
|
};
|
||||||
|
@ -30,7 +29,7 @@
|
||||||
value // {
|
value // {
|
||||||
via = lib.lists.remove "c3d2" value.via;
|
via = lib.lists.remove "c3d2" value.via;
|
||||||
} // (lib.attrsets.optionalAttrs (value.addrs or { } != { }) {
|
} // (lib.attrsets.optionalAttrs (value.addrs or { } != { }) {
|
||||||
calls = [ nightCall ];
|
calls = [ hourlyCall ];
|
||||||
})) (builtins.removeAttrs config.c3d2.nncp.neigh [ "c3d2" ]);
|
})) (builtins.removeAttrs config.c3d2.nncp.neigh [ "c3d2" ]);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue