4 @unnumbered Call configuration
6 Call is a rule when and how node can be called by @command{@ref{nncp-caller}}.
8 Example list of call structures:
13 cron: "*/1 * * * MON-FRI"
19 autotoss-gen-ack: true
22 cron: "30 * * * SAT,SUN"
30 cron: "0 * * * SAT,SUN"
35 cron: "*/5 * * * * * *"
43 tells that on work days of the week call that node every minute,
44 disconnect after an hour of inactivity and process only relatively high
45 priority packets (presumably mail ones). So we connect and hold
46 connection for very long time to pass only emails. On weekends call that
47 node only each half-hour for processing high-priority packets. Also only
48 on weekends try to connect to that node every hour only using LAN
49 address and only receiving any (any priority) packets (assume that low
50 priority huge file transmission are done additionally via offline
53 It contains the following fields (only @emph{cron} is required):
59 @include cronexpr.texi
63 Optional. Use that @ref{Niceness, niceness} during the call (255 is used
70 Optional. Either @verb{|rx|} or @verb{|tx|}. Tells only to either to
71 receive or to transmit data during that call.
75 Optional. Call only that address, instead of trying all from
76 @ref{CfgAddrs, @emph{addrs}} configuration option. It can be either key
77 from @emph{addrs} dictionary, or an ordinary @option{addr:port}.
80 Optional. Override @ref{CfgXxRate, @emph{rxrate/txrate}} configuration
84 Optional. Override @ref{CfgOnlineDeadline, @emph{onlinedeadline}}
85 configuration option when calling.
88 Optional. Override @ref{CfgMaxOnlineTime, @emph{maxonlinetime}}
89 configuration option when calling.
92 @item autotoss, -doseen, -nofile, -nofreq, -noexec, -notrns, -noack, -gen-ack
93 Optionally enable auto tossing: run tosser on node's spool every second
94 during the call. You can control either are @file{seen/} files must be
95 created, or skip any kind of packet processing, or enable @ref{ACK}
98 @vindex when-tx-exists
100 Call only if packets for sending exists. The check of outbound packets
101 existence is performed @strong{every} time we are going to make a call,
102 but @emph{when-tx-exists} does not influence @emph{cron}. When
103 @emph{cron} configuration decides that it is time to make a call, with
104 @emph{when-tx-exists} option it checks packets existence first.
109 NoCK (no-checksumming) tells not to do checksumming of received files,
110 assuming that it will be done for example with
111 @command{@ref{nncp-check}} command later. That can help minimizing time
112 spent online, because HDD won't do simultaneous reading of the data for
113 checksumming and writing of the received one, but just sequential
114 writing of the file. Pay attention that you have to make a call to
115 remote node after checksumming is done, to send notification about
116 successful packet reception.
119 @anchor{CfgMCDIgnore}
121 Ignore @ref{MCD} announcements: do not add MCD addresses for possible