2 @unnumbered Call configuration
4 Call is a rule when and how node can be called.
6 Example list of call structures:
11 cron: "*/1 * * * MON-FRI"
19 cron: "30 * * * SAT,SUN"
27 cron: "0 * * * SAT,SUN"
32 cron: "*/5 * * * * * *"
39 tells that on work days of the week call that node every minute,
40 disconnect after an hour of inactivity and process only relatively high
41 priority packets (presumably mail ones). So we connect and hold
42 connection for very long time to pass only emails. On weekends call that
43 node only each half-hour for processing high-priority packets. Also only
44 on weekends try to connect to that node every hour only using LAN
45 address and only receiving any (any priority) packets (assume that low
46 priority huge file transmission are done additionally via offline
49 It contains the following fields (only @emph{cron} is required):
54 @include cronexpr.texi
57 Optional. Use that @ref{Niceness, niceness} during the call (255 is used
61 Optional. Either @verb{|rx|} or @verb{|tx|}. Tells only to either to
62 receive or to transmit data during that call.
65 Optional. Call only that address, instead of trying all from
66 @ref{CfgAddrs, @emph{addrs}} configuration option. It can be either key
67 from @emph{addrs} dictionary, or an ordinary @option{addr:port}.
70 Optional. Override @ref{CfgXxRate, @emph{rxrate/txrate}} configuration
74 Optional. Override @ref{CfgOnlineDeadline, @emph{onlinedeadline}}
75 configuration option when calling.
78 Optional. Override @ref{CfgMaxOnlineTime, @emph{maxonlinetime}}
79 configuration option when calling.
81 @item autotoss, -doseen, -nofile, -nofreq, -noexec, -notrns
82 Optionally enable auto tossing: run tosser on node's spool every second
83 during the call. You can control either are @file{.seen} files must be
84 created, or skip any kind of packet processing.
87 Call only if packets for sending exists.
91 NoCK (no-checksumming) tells not to do checksumming of received files,
92 assuming that it will be done for example with @ref{nncp-check} command
93 later. That can help minimizing time spent online, because HDD won't do
94 simultaneous reading of the data for checksumming and writing of the
95 received one, but just sequential writing of the file. Pay attention
96 that you have to make a call to remote node after checksumming is done,
97 to send notification about successful packet reception.