Gary R. Webster wrote:
>
>Anywho, your comments on my #3 question, below, gets me to thinking.
>I could have the 'config_list -i path/to/file/above' just run whenever, like 
>from cron, no ?
>Even better, if there were some kind of 'trigger' to hook when a new list 
>is created from the web...

You could make a shell script or other process that would run via cron
as often as you think is necessary.

it could do something like

#!bin/sh
bin/list_lists --bare > path/to/lists.curr
diff path/to/lists.prev path/to/lists.curr | grep '^>' |\
   awk '{print $2}' > path/to/lists.new
cp path/to/lists.curr path/to/lists.prev
for list in `cat path/to/lists.new`
do bin/config_list -i path/to/file/above $list
done

-- 
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to