#include <infodrom.style>
#include <projects.style>

<projectpg project="uucpsend" maxnews=0 maxcontrib=5>

<h3>An example</h3>

<p>Think of the following files in /etc/news:

<p><pre>
    uucpsend.ctl:

    /default/:2000:500:cunbatch:compress:-r -n
    satu:8000:1000:cunbatch:compress:-r -n
    rakastava:5000:1000:zunbatch:gzip:-r -n
    kyllikki:1000:500:gunbatch:gzip -9:-r

    uucpsend.ctl-slowlinks:

    malinconia:1000:200:cunbatch:compress:-r -n
    rakastava:1000:200:cunbatch:compress:-r -n
    intrada:1000:200:cunbatch:compress:-r -n
</pre>

<p>Now assume you also have the following lines in the crontab of the
user ``news''.

<p><pre>
    5     * * * *          uucpsend rakastava kyllikki luonnotar bardi
    24,54 * * * *          uucpsend satu
    7     1 * * *          uucpsend -f slow
</pre>

<p>Decoding this shows that the sites rakastava, kyllikki, luonnotar and
bardi are fed once an hour.  These are big sites that get a lot of
stuff.  But they're still handled differently.  While there may be
stored up to 5MB of UUCP data for rakastava, the spool for kyllikki
must not exceed 1MB.  The next two sites, luonnotar and bardi, are not
listed in any uucpsend.ctl file so the default settings are used.
This reads as they may only use up to 2MB of UUCP spool.

<p>The second line in the crontab feeds a very big site that polls this
server quite often and gets a large amount of olds, err news.  Its
spoll directory may store up to 8MB of data while batching takes place
twice an hour.

<p>The last line covers a bunch of slow sites that tend to poll the
server once per night but have only a slow connection.  In my case
this is a non-profit organisation of free radio groups.  Since no
sitenames are specified on the commandline uucpsend loops through the
file and batches for every site.

<p>
</projectpg>
