[Mailman-Users] question about recurring gate_news command

2008-08-04 Thread Christopher Adams
I looked through the list archives and didn't see where this issue was
resolved. My cron log show a recurring (every 5 minutes)  entry like
this:

Aug  4 11:20:00 swiki CROND[21998]: (mailman) CMD
(/usr/local/bin/python -S /usr/local/mailman/cron/gate_news)

Can someone suggest a fix?

-- 
Christopher Adams
[EMAIL PROTECTED]
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] question about recurring gate_news command

2008-08-04 Thread Brad Knowles

Christopher Adams wrote:


I looked through the list archives and didn't see where this issue was
resolved. My cron log show a recurring (every 5 minutes)  entry like
this:

Aug  4 11:20:00 swiki CROND[21998]: (mailman) CMD
(/usr/local/bin/python -S /usr/local/mailman/cron/gate_news)


Right, that's exactly what it's supposed to do.  This is the program that 
runs every five minutes to gateway any news articles to/from selected 
newsgroups.



Can someone suggest a fix?


What's the problem?

--
Brad Knowles [EMAIL PROTECTED]
LinkedIn Profile: http://tinyurl.com/y8kpxu
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] question about recurring gate_news command

2008-08-04 Thread Terri Oda

On 4-Aug-08, at 2:48 PM, Christopher Adams wrote:

I looked through the list archives and didn't see where this issue was
resolved. My cron log show a recurring (every 5 minutes)  entry like
this:

Aug  4 11:20:00 swiki CROND[21998]: (mailman) CMD
(/usr/local/bin/python -S /usr/local/mailman/cron/gate_news)

Can someone suggest a fix?


Are you actually trying to update a news server?  Because if you're  
not, you should probably turn off the mail-news gateway for your  
lists.  I think it's obvious on the options page.


 Terri
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] question about recurring gate_news command

2008-08-04 Thread Mark Sapiro
Terri Oda wrote:

Are you actually trying to update a news server?  Because if you're  
not, you should probably turn off the mail-news gateway for your  
lists.  I think it's obvious on the options page.


That won't stop the cron running every 5 minutes. The only way to do
that is to edit Mailman's crontab.

If you are not actually gating from a newsgroup to a list (and never
plan to), you don't need to run cron/gate_news and you can comment it
out in the crontab. Gating from a list to a newsgroup is triggered by
the post and cron/gate_news is not involved. cron/gate_news polls the
newsgroups accociated with lists that have gateway_to_mail set to Yes.

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

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] question about recurring gate_news command

2008-08-04 Thread Christopher Adams
Thanks to all. I was concerned because I hadn't seen so many log
entries before from gate_news. Does this likely mean that a list was
configured to run the mail-news gateway or has it been running like
that all along?

Anyway, I hadcommented out the entry in the crontab.in previously, but
I didn't think to re-run the crontab command to update it. It seems to
have stopped now.

On Mon, Aug 4, 2008 at 2:00 PM, Mark Sapiro [EMAIL PROTECTED] wrote:
 Terri Oda wrote:

Are you actually trying to update a news server?  Because if you're
not, you should probably turn off the mail-news gateway for your
lists.  I think it's obvious on the options page.


 That won't stop the cron running every 5 minutes. The only way to do
 that is to edit Mailman's crontab.

 If you are not actually gating from a newsgroup to a list (and never
 plan to), you don't need to run cron/gate_news and you can comment it
 out in the crontab. Gating from a list to a newsgroup is triggered by
 the post and cron/gate_news is not involved. cron/gate_news polls the
 newsgroups accociated with lists that have gateway_to_mail set to Yes.

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





-- 
Christopher Adams
[EMAIL PROTECTED]
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] question about recurring gate_news command

2008-08-04 Thread Mark Sapiro
Christopher Adams wrote:

Thanks to all. I was concerned because I hadn't seen so many log
entries before from gate_news. Does this likely mean that a list was
configured to run the mail-news gateway or has it been running like
that all along?


It has nothing to do with list configuration. One or more lists being
configured to gatway from news to the list (gateway_to_mail = Yes)
will affect whether or not gate_news does anything when it runs, but
only the crontab affects if and how often it runs.

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

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9