]> Cypherpunks.ru repositories - nncp.git/blob - doc/usecases/caller.texi
Unify @ref and @command usage
[nncp.git] / doc / usecases / caller.texi
1 @node UsecaseCaller
2 @section Cheap night transfers
3
4 Your Internet/telephone traffic price can vary, depending on daytime.
5 Night calls/connections could be twice as cheaper. You wish to send your
6 files at that time, but keep high priority email infrequently passing
7 through in anytime. Also you wish to pass any kind of traffic when the
8 node is available through the LAN.
9
10 You can easily set your preferences in @ref{Call, call configurations}
11 for @command{@ref{nncp-caller}} command used in online communications.
12
13 @verbatim
14 neigh: {
15   [...]
16   some-node: {
17     [...]
18     addrs: {
19       lan: "[fe80::be5f:f4ff:fedd:2752%igb0]:5400"
20       wan: "some-node.com:5400"
21     }
22     calls: [
23       {
24         cron: "*/1 * * * *"
25         addr: lan
26         nice: MAX
27         onlinedeadline: 3600
28       }
29       {
30         cron: "*/10 * * * *"
31         addr: wan
32         nice: PRIORITY
33         xx: rx
34       }
35       {
36         cron: "*/1 0-7 * * *"
37         addr: wan
38         nice: BULK
39         onlinedeadline: 3600
40         maxonlinetime: 3600
41       }
42     ]
43   }
44 }
45 @end verbatim