-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I wrote a generic script for keeping a running count of all the
subscribers on all the lists on a Mailman server. It is written to be
run as e.g. a cronjob directly on the Mailman server. It updates a set
of CSV files with data each day.
https://github.com/quaid/mailman-subscriber-count
For
lists.ovirt.org, it's currently set to run at 12:45 am each day,
and puts output in to individual CSV files in /root/mailman-data/.
This first variation on the script also does a count of the
subscribers who are @redhat.com. The script can be hacked for counting
other domains, but is only written to be hardcoded for the
domain-specific subscribers.
I'm sure there are many better ways to do this, and there may even be
other tools that do this. I was struck with a clear vision of how to
do this in bash and wanted to make that happen, even if I'm
reinventing some wheels here. It's really nothing special, but it was
fun to get it working right. If anyone wants to show me how to do it
better, or reimplement it in a better scripting language, patches and
pull-requests are welcome.
- - Karsten
- --
Karsten 'quaid' Wade, Sr. Analyst - Community Growth
Red Hat Open Source and Standards (OSAS)
http://TheOpenSourceWay.org
@quaid (identi.ca/twitter/IRC) | gpg: AD0E0C41
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org/
iD8DBQFPtdud2ZIOBq0ODEERAspRAJ4l2mQlOMgKEyYcywr7LTk8b3jkFACeIFvh
MAOaloDfHkga+J6OFWNpLWw=
=cAL5
-----END PGP SIGNATURE-----