Try this script...

#!/bin/bash
#  Mail reminders to list admins
#
# dump all the list names to LISTS
LISTS="`~mailman/bin/list_lists |grep "^ " |awk '{ print $1 }' `"
#
for i in $LISTS
do
   mail -s "To the Admin of list: $i" $i-admin <~mailman/reminder.msg
done
# /home/mailman/reminder.msg is the reminder message sent to each admin

===
Save the above script as /usr/local/sbin/mm_reminder
Create a file with a reminder message in it and save it in
~mailman/reminder.msg
Edit your crontab and add the following line:

10  2  15  3,6,9,12  *   /usr/local/sbin/mm_reminder

Viola!  Your admins are reminded every March, June, Sept, Dec 15 at 2:10am

Jon Carnes

----- Original Message -----
From: "Jo Brooks" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 08, 2001 6:53 PM
Subject: [Mailman-Users] Variations on Reminders?


> Are there plans to extend the reminders capabilities, possibly
> something that would send out quarterly reminders to the list
> owners?
>
> There seems to be a tendency to let lists languish unused...for
> years...and if they are reminded (say 2 or 4 times a year), maybe
> they'll send in a request to decommission the lists when they are
> no longer needed.   :)
>
> It's not a huge request, but anything to prevent me from having
> to chase down list admins coudl be helpful.
>
>
> Regards,
> Jo Brooks
> DHL Worldwide Express
> Systems Support Group
>
> ------------------------------------------------------
> Mailman-Users maillist  -  [EMAIL PROTECTED]
> http://mail.python.org/mailman/listinfo/mailman-users


------------------------------------------------------
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users

Reply via email to