--On Friday, October 22, 2004 11:43 am +0100 Richard Barrett <[EMAIL PROTECTED]> wrote:
On 22 Oct 2004, at 10:48, Ian Eiloart wrote:
Hi,
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 do."!
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 [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/
-- Ian Eiloart Servers Team Sussex University ITS
------------------------------------------------------ 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/
