This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

problems with wget in cron-job since cygwin 1.3.11


in w2k i use cygwin-wget in a cron-job. with cygwin 1.3.10-1 it's ok. since cygwin 1.3.11 wget (cron?!) can't resolve the given proxy, still in the current cygwin 1.3.12-2. From the normal command-shell it's ok.

cron-job:
#!/bin/sh
echo `date '+%Y%m%d %H%M%S'` $0 : Start daily-2200-job
set
nslookup internetproxy
echo `date '+%Y%m%d %H%M%S'` $0 : Palm Currency-DB aktualisieren
wget http://www.braunstein.de/ftp/palm/currency-updates/cupdate.pdb
echo `date '+%Y%m%d %H%M%S'` $0 : End daily-2200-job 

output with cygwin 1.3.12-2:
20020709 110103 d:/daten/SOFTWARE/cygwin-bin/daily-2200-job.sh : Start daily-2200-job
...
http_proxy=http://internetproxy:8080/
TEMP=/cygdrive/c/TEMP
CYGWIN=ntsec binmode
TERM=cygwin
...
PROCESSOR_LEVEL=6
*** Der Servername fr die Adresse (null) konnte nicht gefunden werden: No response from server 
*** Der Servername fr die Adresse (null) konnte nicht gefunden werden: No response from server 
*** Die Standardserver sind nicht verfgbar. 
*** internetproxy wurde von UnKnown nicht gefunden: No response from server Server:  UnKnown
Address:  (null)
20020709 110103 d:/daten/SOFTWARE/cygwin-bin/daily-2200-job.sh : Palm Currency-DB aktualisieren
--11:01:04--  http://www.braunstein.de/ftp/palm/currency-updates/cupdate.pdb
           => `cupdate.pdb'
Resolving internetproxy... failed: Unknown error.
20020709 110114 d:/daten/SOFTWARE/cygwin-bin/daily-2200-job.sh : End daily-2200-job 

output with cygwin 1.3.10-1:
20020709 112401 d:/daten/SOFTWARE/cygwin-bin/daily-2200-job.sh : Start daily-2200-job
...
CYGWIN=ntsec binmode
TEMP=/cygdrive/c/TEMP
http_proxy=http://internetproxy:8080/
TERM=cygwin
...
PROCESSOR_LEVEL=6
Server:  name1.domain1.de
Address:  123.456.78.90

Name:    name2.domain1.de
Address:  123.456.78.91
Aliases:  internetproxy.domain1.de

20020709 112401 d:/daten/SOFTWARE/cygwin-bin/daily-2200-job.sh : Palm Currency-DB aktualisieren
--11:24:01--  http://www.braunstein.de/ftp/palm/currency-updates/cupdate.pdb
           => `cupdate.pdb'
Resolving internetproxy... done.
Connecting to internetproxy[123.456.78.91]:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 5,914 [chemical/x-pdb]
    0K .....                                                 100%    2.82 MB/s
11:24:02 (2.82 MB/s) - `cupdate.pdb' saved [5914/5914]
20020709 112411 d:/daten/SOFTWARE/cygwin-bin/daily-2200-job.sh : End daily-2200-job 

if you need more informations or tests with some modifications please tell me.

Thanks for an reply

Rainer Kurzawski

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]