David Boothe wrote:

> >I habe the following set up as a cron job...
> >   
> >  /path/to/mailman/bin/list_members listname | mail -s 'List Names' [EMAIL 
> > PROTECTED]
> >   
> >  
>   
> >  It sends the email to [EMAIL PROTECTED] but it is empty.
>   
You might try
/path/to/mailman/bin/list_members listname &> /path/to/mail -s 'List 
Names' [EMAIL PROTECTED]

You may need to specify the path to the mail depending on what you have 
PATH= set to for your crontab.  Also, I've never tried to | in cron.  
I'm sure it's possible, but &> redirects the output of a cron command to 
wherever you've specified.

-- 
Anne Ramey


------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
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&file=faq01.027.htp

Reply via email to