[Mailman-Users] mailman_sync --silent
iane at sussex.ac.uk
Fri Oct 22 13:58:01 CEST 2004
--On Friday, October 22, 2004 11:43 am +0100 Richard Barrett
<r.barrett at openinfo.co.uk> wrote:
> On 22 Oct 2004, at 10:48, Ian Eiloart wrote:
>> I have a cron job which syncs a mailman mailing list membership with a
>> text file maintained by a web application.
>> I used mailman_sync --silent in the code, but now mailman_sync
>> complains that it doesn't support --silent. Is this a feature that has
>> been lost in an update?
> Neither MM 2.1.4 or 2.1.5 (or previous if I recollect) have a command
> line script called mailman_sync.
> MM 2.1.4 or 2.1.5 (and previous if I recollect) have a command line
> script bin/sync_members but it did/does not have a --silent option.
> Is mailman_sync a local script.
Oops, *blush*, yes. Its a script that calls sync_members, and I did have it
using --silent. It worked from March to June 10, then stopped working.
June 10 is the last modified date on sync_members.
>> The problem is that, after removing the --silent option, I'm getting
>> emails every five minutes telling me that mailman_sync had "Nothing to
> Redirect output of sync_members to /dev/null on the crontab entry ??
Hmm, yes. Except I want it to report what it does do. I don't want it to
report that there's nothing to do. I guess I can pipe through "egrep -v
'^Nothing to do.$'"
Er, that doesn't seem to work, but if I pipe the output of the script
through there, then that works.
>> Ian Eiloart
>> Servers Team
>> Sussex University ITS
>> Mailman-Users mailing list
>> Mailman-Users at python.org
>> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
>> Searchable Archives:
Sussex University ITS
More information about the Mailman-Users