updatenews - Man Page
post articles from outgoing spool directory and prefetch newsgroups
Synopsis
updatenews [ -h ] [ -v ] [ -a ] [ -g ] [ -o ] [ -l ] [ -w # ]
Description
Updatenews submits all those articles that have been stored within NewsCache's outgoing-queue. If necessary the ActiveDB will be updated (see the -a option to force the update). Afterwards retrieves all the articles from the newsgroups listed in the PrefetchFile (This can be configured in newscache.conf).
Options
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below.
- -h, --help
Show summary of options.
- -v, --version
Show version of program.
- -a, --active
Force the prefetch the active data base. Updatenews first invalidate the ActiveDB to force the update.
- -g, --group
Prefetch whole newsgroups (the articles of the newest 10000000 article numbers of each group).
- -o, --over
Only prefetch the overview database (of the newest 10000000 article numbers of each group).
- -l, --lock-group
Always lock the newsgroup while prefetching it. This improves the performance of update- news slightly, but nobody else can read this newsgroup while prefetching.
- -w, --workers #
Use # workers for prefetching. Each worker is assigned its own newsgroup to prefetch.
Prefetch File
Each line of the PrefetchFile is one of:
- group.name
Prefetch this newsgroup.
- pattern
A wildmat pattern with *, ? or [...]: prefetch every group of the active database that matches it, in alphabetical order.
- !pattern
Don't prefetch the groups that match the pattern (or the group name), wherever they come from in the file.
Empty lines and lines starting with # are skipped. Each group is prefetched once, in the order of the file. Example:
# all of de.*, but not the binaries de.* !de.alt.binaries.* comp.lang.[cg]o at.test
Files
/etc/newscache.conf
/usr/bin/newscache
/usr/bin/newscacheclean
/usr/bin/newscacheclean
/usr/bin/updatenews
See Also
newscache.conf(5), newscacheclean(8), updatenews(8).
Authors
1997-2000 Thomas Gschwind <tom@infosys.tuwien.ac.at>
2001-2004 Herbert Straub <h.straub@aon.at>
Reporting Bugs
Report bugs at <https://github.com/go-while/NewsCache/issues>.
Copyright
NewsCache is released under the GNU General Public License (GPL). There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.