[Mailman-Users] Running a script on subscribe/unsubscribe?

Glenn Sieb ges+lists at wingfoot.org
Mon Mar 13 13:48:00 CET 2006


Dragon said the following on 3/13/2006 1:49 AM:
> It's not so much a problem per se as it is just that I want 
> processing to be much more immediate so that when a member 
> subscription is approved or a member unsubscribes or is removed from 
> the list, the password update and other setup activities don't have 
> to wait around for the next cron interval. (Which is currently set to 
> run hourly).

I set mine up like this:

http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq03.007.htp

It's in a cron job that runs make every 10 minutes. Since make only does
anything to files that have changed, it becomes a fairly lightweight
process--you could probably run it every 5 minutes or so, even.

Best,
--Glenn

-- 
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
          ~Benjamin Franklin, Historical Review of Pennsylvania, 1759



More information about the Mailman-Users mailing list