[Mailman-Users] Mailman cron scripts and syslog
Lynn, Michael (DCS)
MLynn at exchange.ml.com
Wed Dec 5 00:15:36 CET 2001
whoopps - in my haste I mistyped... you probably want >> for append versus > overwrite.
apologies.
-----Original Message-----
From: Lynn, Michael (DCS)
Sent: Tuesday, December 04, 2001 6:14 PM
To: 'Bill Moseley'; mailman-users at python.org
Subject: RE: [Mailman-Users] Mailman cron scripts and syslog
Bill,
I typically use redirection in the cron statement to achieve this result.
eg:
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
# At 5PM every day, mail reminders to admins as to pending requests
0 17 * * * /usr/bin/python -S /home/mailman/cron/checkdbs > /var/log/checkdbs.og 2> &1
or something like that. (vis. > /var/log/checkdbs.og 2> &1)
Hope this helps.
Regards,
Mike
Michael Lynn
Platform Architect
Merrill Lynch
201.557.4555
917.941.7964
-----Original Message-----
From: Bill Moseley [mailto:moseley at hank.org]
Sent: Monday, December 03, 2001 8:55 PM
To: mailman-users at python.org
Subject: [Mailman-Users] Mailman cron scripts and syslog
This is a unix question, I guess, instead of a mailman question. I'd like
to keep the cron messages specific to mailman in a separate log file from
my other cron logs.
I can't think of a way to do that, but I thought I'd ask.
This is on linux.
Bill Moseley
mailto:moseley at hank.org
------------------------------------------------------
Mailman-Users maillist - Mailman-Users at python.org
http://mail.python.org/mailman/listinfo/mailman-users
More information about the Mailman-Users
mailing list