Mark Sapiro <[EMAIL PROTECTED]> wrote:
> Well, I don't use fcron so I don't know for sure, but looking at the
> various manpages leads me to think that the shell= setting in the
> fcron config file is only a default if the shell is not otherwise
> specified.
> 
> man 5 fcrontab
> 
> says
> 
>   When fcron executes a command, it always sets USER, HOME, and SHELL
>   as defined in /etc/passwd for the owner of the fcrontab from which
>   the command is extracted. HOME and SHELL may be overridden by
>   settings in the fcrontab, but USER may not. Every other environment
>   assignments defined in the user fcrontab are then made, and the
>   command is executed.
> 
> Note the word 'always'. This suggests that you need
> 
> SHELL = /bin/sh
> 
> preceding any commands in the fcrontab entry itself.

Thanks Mark,
        Adding SHELL = /bin/sh to my mailman crontab solved my problem. I think 
it would be a good idea to add a note to the Mailman installation manual for 
people using fcron instead of cron. I have attached my complete crontab as a 
reference for anyone having this problem.

        Hugo.

------------------------------------------------------
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to