]> Cypherpunks.ru repositories - nncp.git/blob - doc/cmd/nncp-toss.texi
da4b3bef04923757223a67b314a028640d669de1
[nncp.git] / doc / cmd / nncp-toss.texi
1 @node nncp-toss
2 @section nncp-toss
3
4 @example
5 $ nncp-toss [options]
6     [-node NODE]
7     [-dryrun]
8     [-cycle INT]
9     [-seen]
10     [-nofile] [-nofreq] [-noexec] [-notrns] [-noarea]
11 @end example
12
13 Perform "tossing" operation on all inbound packets. This is the tool
14 that decrypts all packets and processes all payload packets in them:
15 copies files, sends mails, sends out file requests and relays transition
16 packets. It should be run after each online/offline exchange.
17
18 @option{-dryrun} option does not perform any writing and sending, just
19 tells what it will do.
20
21 @option{-cycle} option tells not to quit, but to repeat tossing every
22 @option{INT} seconds in an infinite loop. That can be useful when
23 running this command as a daemon.
24
25 @option{-seen} option creates empty @file{seen/XXX} file after
26 successful tossing of @file{XXX} packet. @ref{nncp-xfer},
27 @ref{nncp-bundle}, @ref{nncp-daemon} and @ref{nncp-call} commands skip
28 inbound packets that has been already seen, processed and tossed. This
29 is helpful to prevent duplicates.
30
31 @option{-nofile}, @option{-nofreq}, @option{-noexec}, @option{-notrns},
32 @option{-noarea} options allow disabling any kind of packet types processing.