Purpose
To update the
WebStatistics page.
Used by
One of:
- This cgi script is invoked by the user when the user clicks 'force update' on the WebStatistics page
- It is also often called by cron so that stats pages are always up to date.
- It is set up using the TWikiSiteTools
TWiki Modules used
This
CGI script depends on the following TWiki modules for functionality:
External Modules used
This
CGI script also depends on the following external modules:
This section lists the methods that can be used by the scripts and by other modules
These do not need to be not documented yet
Please see
CodevDocumentationProject and
CodevDocumentationProjectDev for comments on the format of these pages.
Command line parameters
--
MartinCleaver - 23 Jun 2002
Issues
Doesn't take the -q flag
- The other BackendScripts can be called with '-q' to suppress output in the event of the script working correctly. It would be nice if this script also had that option.
- Workaround: (not tested) put 'statistics 2>&1 1>/dev/null' in your cron entry. Beware that you will never get any output from it even it is failing.
- This flag should be implemented. However, I think the best approach is to define a suitable log file and put all errors there - this shouldn't grow too quickly. I am very much against throwing away errors. [ RichardDonkin 25 Jun 2003 ]
--
MartinCleaver - 25 Jun 2003