Manual page for MKGRDATES(8C)
mkgrdates - Make the newsgroup creation date file
for the NNTP server
is no longer used, and does not need to be run
It is included only for completeness and backward compatibility.
For more information, see the manual page for
maintains the newsgroup creation date file for the
Network News Transfer Protocol server,
which uses it for the NEWGROUPS command.
goes through the active file,
and creates the file
containing the creation dates and times of the
newsgroups in the active file. The
file has one line for each newsgroup, in the form
``date newsgroup'' where ``date'' is the newsgroup's
creation time, in seconds since midnight, Jan. 1,
and ``newsgroup'' is the name of the newsgroup in question.
Since generating the
file is expensive, when
is run it creates the file
containing the length, in bytes, of the active file.
The next time
is invoked, it compares the contents of the
file against the length of the active file, and
exits if these lengths are the same. If the
lengths are not the same, it rebuilds the
file, and sets the
file to the appropriate value.
This scheme avoids a fair amount of what would
be wasted computing.
should be run once or twice a day by an entry in
It's a crock;
function needs to be done by the news system.
NNTP version 1.4 does not use this program at all,
and decides whether a group is ``new'' or not by
a (rather poor) heuristic.
Created by unroff & hp-tools.
© by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97