Hugo Villeneuve wrote:
>
>In the fcron configuration file, I have already this line for the shell:
>     shell = /bin/sh


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.

-- 
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
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