[Mailman-Users] subscribers counter

Matthew Thompson matt at actuality.co.uk
Fri Feb 15 16:03:51 CET 2002


On Friday, February 15, 2002, at 02:54 PM, Daniel Zeiss wrote:

> Hi,
>
>> You can do:
>> ~mailman/bin/list_members $LISTNAME > $WEBDIR/subscriber-count.txt
>> in your crontab, and include the subscriber-count.txt file in your
>
> No, that wont work.
>
> "IOError: [Errno 13] Permission denied:
> '/usr/local/mailman/lists/medizin/config.db'"

Have you considered a little php script that runs under cron and reads in 
the number of lines in your members file. It could be written to output 
the number of lines to a small text file that could be read back in.

www.php.net has all the code snippets for reading files - it's quite easy.

M at t :o)

--
Matthew Thompson - actuality consulting ltd.
matt at actuality.co.uk





More information about the Mailman-Users mailing list