[Mailman-Users] Errors with fcron jobs

Todd Zullinger tmz at pobox.com
Mon Dec 19 00:56:47 CET 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hugo Villeneuve wrote:
> On Sun, 18 Dec 2005 14:15:46 -0800
> Mark Sapiro <msapiro at value.net> wrote:
>> fcron by default runs commands using the user's login shell from
>> /etc/passwd. Thus you have to either specify a valid shell in
>> /etc/passwd or override it by assigning to SHELL in the crontab.
>
> In the fcron configuration file, I have already this line for the shell:
>      shell = /bin/sh

I'm not an fcron user, but I doubt that shell is the same as SHELL.
Try setting SHELL = /bin/sh in your crontab and see if that works
better.

This is what the fcrontab(5) manpage 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.

- -- 
Todd        OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
======================================================================
Despite the high cost of living, it remains a popular item.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iG0EARECAC0FAkOl9z4mGGh0dHA6Ly93d3cucG9ib3guY29tL350bXovcGdwL3Rt
ei5hc2MACgkQuv+09NZUB1rZhACeI6atn8apKXE1qsw7Xc5ppm3zldIAoLlFLwm7
3R/vI2NugUy+1VuZcAhP
=WcT4
-----END PGP SIGNATURE-----



More information about the Mailman-Users mailing list