This shows you the differences between two versions of the page.

howtos:mailstats [2008/02/08 19:49] (current)
Line 1: Line 1:
 +====== Keep a Record of POPFile's Statistics Over Time ======
 +This HOWTO explains how to use two widely used utilities to regularly grab a copy of your POPFile buckets page by email so you can retain a history of your POPFile statistics over time.
 +Although the instructions here are Windows specific, the methods used can easily be applied to other non-windows platforms by locating a platform specific version of the utilities (or comparable replacements).
 +===== How to Mail POPFile Bucket Stats to Yourself =====
 +Obtain and install the utilities Blat and wget.
 +  * Obtain and install Blat from Tim Charron's page [[http://www.interlog.com/~tcharron/blat.html| here]]. Now, the page moved to [[http://www.blat.net/| Blat online]]. You may get Blat from here.
 +    - install Blat in a directory in your path, or the POPFile directory
 +    - run Blat -install <server address> <senders address> to get Blat configured correctly. Make sure that <server address> points to an smtp server that you are permitted to relay mail thru, usually this will be the same smtp server you set up in your mail client.
 +  * Obtain and install GNU wget from the GNU site [[http://www.gnu.org/software/wget/wget.html| here]].
 +    - install wget in a directory in your path, or the POPFile directory
 +  * Create a Batch File and set it up on a regular schedule in the Task Scheduler.  Create a batch file as follows (note: that's a dash letter O not zero):<code>
 +wget -O - | blat - -t [email protected] -s "POPFile Buckets Report" -mime
 +  * Save the batch file in your POPFile directory, name it mail_bucket_stats.bat
 +  * Open your task scheduler and add a scheduled task.
 +    - Use the Wizard to browse to your POPFile installation directory, usually "c:\Program Files\Popfile", and select the batch file mail_bucket_stats.bat
 +    - change the name of the task to Mail Bucket Stats
 +    - Select the frequency to run it
 +    - Select the time and day(s) to run it
 +    - Click finish
 +    - Close the task scheduler (or test it by right clicking on the new entry you made and selecting run)
 +You're done. The task scheduler will run the batch file at the time(s) you scheduled. The batch file will grab a copy of your buckets page and email it off to you. You can then set up a folder in your email client to retain those reports to build a history over time of your accuracy and bucket statistics.
howtos/mailstats.txt · Last modified: 2008/02/08 19:49 (external edit)

Should you find anything in the documentation that is incomplete, unclear, outdated or just plain wrong, please let us know and leave a note in the Documentation Forum.

Recent changes RSS feed Donate Driven by DokuWiki
The content of this wiki is protected by the GNU Fee Documentation License