procmail
[Top] [All Lists]

Weird problem with TIMEOUT

2010-09-20 13:37:26
Hello Experts,

since some days I have a weird error of

procmail: Timeout, terminating "wget --user-agent="tdtools-procmail/rssreader 
v${TDTP_VERSION}" --quiet --timeout=30 -O - "${TMPVAR1}" ; :"
procmail: Rescue of unfiltered data failed

in the code:

----[ '~/.tdtools-procmail/PRI-michelle.rss.rian_ru' ]------------------
<snip>
  LINEBUF=256000
  TIMEOUT=120
<snip>
  TMPVAR1=`mimedecode |grep -i '^URL: http://' |sed 's|^URL: ||' |tr -d ' ' ; :`
<snip>
    TMPVAR2=`wget --user-agent="tdtools-procmail/rssreader v${TDTP_VERSION}" 
--quiet --timeout=30 -O - "${TMPVAR1}" ; :`
    :0
    * ? test -z "${TMPVAR2}"
    {
      LOG="Failed${NL}"
      :0
      .RSS.Rian_ru/
    }
<snip>
------------------------------------------------------------------------

WHY does TIMEOUT in procmail not work?

Does someone know, HOW I can enforce "wget" to  return  always  an  exit
status of TRUE?

Following does not work:

    wget ...  || exit 0
    wget ...  ; exit 0

Thanks, Greetings and nice Day/Evening
    Michelle Konzack

-- 
##################### Debian GNU/Linux Consultant ######################
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems(_at_)tdnet France EURL       itsystems(_at_)tdnet UG (limited 
liability)
Owner Michelle Konzack            Owner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz                 Kinzigstraße 17
67100 Strasbourg/France           77694 Kehl/Germany
Tel: +33-6-61925193 mobil         Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

<http://www.itsystems.tamay-dogan.net/>  <http://www.flexray4linux.org/>
<http://www.debian.tamay-dogan.net/>         <http://www.can4linux.org/>

Jabber linux4michelle(_at_)jabber(_dot_)ccc(_dot_)de

Linux-User #280138 with the Linux Counter, http://counter.li.org/
____________________________________________________________
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>