procmail
[Top] [All Lists]

Re: TIMEOUT ignored

2009-10-29 15:38:20
Am 2009-10-29 17:08:15, schrieb Holger Wahlen:
* Michelle Konzack wrote:
      TIMEOUT=1800
      DUMMY_EXEC=`wget --user-agent="tdtools-procmail v${TDTP_VERSION}" 
--quiet -P ${HOME}/doc/electronic/Maxim/Design_Guides/ ${TMPVAR1} & :`

Don't you have to tell wget to use that value (--timeout=${TIMEOUT})?
I can't find anything in the docs that says the environment variable is
used automatically.

No, because my .wgetrc is set to infinite.

It is procmail which send SIGTERM to "wget" after 960 seconds

From procmail I have:

----[ manpage 'procmailrc' ]--------------------------------------------
<snip>
       TIMEOUT     Number  of seconds that have to  have  passed  before
                   procmail decides that some child it started  must  be
                   hanging.   The  offending  program  will  receive   a
                   TERMINATE signal from procmail, and processing of the
                   rcfile will  continue.  If zero, then no timeout will
                   be used and procmail  will  wait  forever  until  the
                   child has terminated; if not specified,  it  defaults
                   to 960 seconds.
<snip>
------------------------------------------------------------------------

However, I can not use 0 as the  TIMEOUT  value,  because  it  can  have
unexpected results and of course, the 1800 seconds must be set  explicit
to this recipe and not the rest.

Thanks, Greetings and nice Day/Evening
    Michelle Konzack


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
<http://www.tamay-dogan.net/>                 Michelle Konzack
<http://www.can4linux.org/>                   Apt. 917
<http://www.flexray4linux.org/>               50, rue de Soultz
Jabber linux4michelle(_at_)jabber(_dot_)ccc(_dot_)de           67100 
Strabourg/France
IRC    #Debian (irc.icq.com)                  Tel. DE: +49 177 9351947
ICQ    #328449886                             Tel. FR: +33  6  61925193

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>