[Mailman-Users] problem with cron

Mark Sapiro msapiro at value.net
Mon May 14 18:47:23 CEST 2007


nikos wrote:

>I put the "mailto" line in crontab and I recieve the first errors:
>
>/bin/sh: mailman: command not found
>
>I think refers to mailman /usr/lib/mailman/cron/... lines.
>What is wrong with that?


You have installed a "system" crontab as the mailman user's crontab.

The crontab you installed is designed to be put in a file in
/etc/cron.d/ (e.g. /etc/cron.d/mailman). Thus it has an extra field
between the days/times and the command which contains the userid
(mailman) under which the command is to be run.

If you install it in /var/spool/cron/ via the crontab command, you have
to remove the mailman userid field from between the times and the
commands.

-- 
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list