CLEARXS(1)

NAME
clearxs - Updates the WWW counter file every day

SYNOPSIS
clearxs [ options ]

DESCRIPTION OF CLEARXS
CLEARXS is a program that you should install in cron's table. What it does is clear some of the fields in the WWW counter file every night. This is so that the counter can assume three values: a day counter, a month counter and a total counter. This program resets the day counter to 0 every day and the month counter to 0 every first of the month.

OPTIONS
The program has three options:

-d  This makes the program clear all the day counters, but leaves the other counters as they were. This option should be used every night.

-m  This makes the program clear the day and the month counter. The total counter is left as it was. This should be run by cron every first of the month.

-T  Clears all the counters. Do NOT use :)

EXAMPLE
The following can be used as a cron table entry:

0 0 2-31 * * root clearxs -d
0 0 1 * * root clearxs -m

ACKNOWLEDGEMENTS
I thank all the members at MCGV Stack who are actively involved in the entire WWW happening.

SEE ALSO
http://www.stack.nl/~sven/xs-httpd/
httpd(1), xspasswd(1), imagemap(1), readxs(1), gfxcount(1), xsindex(1), httpdc(1)

COPYRIGHT
All the programs in the XS-HTTPD package are copyright (C) 1995, 1996 by Sven Berkvens, except the imagemapper.

AUTHOR
The author of the XS WWW server and its accompanying programs is Sven Berkvens (sven@stack.nl). I made all the programs, except the imagemapper, which I took from the NCSA distribution, but I cleaned it up.