[Mailman-Users] Errors with fcron jobs

Hugo Villeneuve hugo at hugovil.com
Mon Dec 19 04:13:58 CET 2005


Mark Sapiro <msapiro at value.net> 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.



More information about the Mailman-Users mailing list