]> Cypherpunks.ru repositories - nncp.git/blobdiff - doc/call.texi
Merge branch 'develop'
[nncp.git] / doc / call.texi
index a0fe0332e55900718188ecff1f193634869a7c40..edf2d707ac51d6697568b343cf70b2643de57774 100644 (file)
@@ -8,15 +8,18 @@ Example list of call structures:
 @verbatim
 calls:
   -
-    cron: "*/1 * * * 0-4"
+    cron: "*/1 * * * MON-FRI"
     onlinedeadline: 3600
-    nice: 64
+    nice: PRIORITY+10
   -
-    cron: "30 * * * 5-6"
-    onlinedeadline: 10
-    nice: 64
+    cron: "30 * * * SAT,SUN"
+    onlinedeadline: 1800
+    maxonlinetime: 1750
+    nice: NORMAL
+    rxrate: 10
+    txrate: 20
   -
-    cron: "0 * * * 5-6"
+    cron: "0 * * * SAT,SUN"
     xx: rx
     addr: lan
 @end verbatim
@@ -25,11 +28,11 @@ tells that on work days of the week call that node every minute,
 disconnect after an hour of inactivity and process only relatively high
 priority packets (presumably mail ones). So we connect and hold
 connection for very long time to pass only emails. On weekends call that
-node only each half-hour for processing high-priority packets and
-quickly disconnect. Also only on weekends try to connect to that node
-every hour only using LAN address and only receiving any (any priority)
-packets (assume that low priority huge file transmission are done
-additionally via offline connections).
+node only each half-hour for processing high-priority packets. Also only
+on weekends try to connect to that node every hour only using LAN
+address and only receiving any (any priority) packets (assume that low
+priority huge file transmission are done additionally via offline
+connections).
 
 It contains the following fields (only @emph{cron} is required):
 
@@ -150,7 +153,7 @@ and a wildcard year field is appended, that is, @verb{|* * * * Mon|}
 internally become @verb{|0 * * * * Mon *|}.
 @item
 Domain for day-of-week field is [0-7] instead of [0-6], 7 being Sunday
-(like 0). This to comply with @url{http://linux.die.net/man/5/crontab}.
+(like 0). This to comply with @url{https://linux.die.net/man/5/crontab}.
 @end itemize
 
 @item nice
@@ -166,8 +169,16 @@ Optional. Call only that address, instead of trying all from
 @ref{CfgAddrs, @emph{addrs}} configuration option. It can be either key
 from @emph{addrs} dictionary, or an ordinary @option{addr:port}.
 
+@item rxrate/txrate
+Optional. Override @ref{CfgXxRate, @emph{rxrate/txrate}} configuration
+option when calling.
+
 @item onlinedeadline
 Optional. Override @ref{CfgOnlineDeadline, @emph{onlinedeadline}}
 configuration option when calling.
 
+@item maxonlinetime
+Optional. Override @ref{CfgMaxOnlineTime, @emph{maxonlinetime}}
+configuration option when calling.
+
 @end table