* problems with wget in cron-job since cygwin 1.3.11
@ 2002-07-09 3:30 Kurzawski, Rainer
0 siblings, 0 replies; only message in thread
From: Kurzawski, Rainer @ 2002-07-09 3:30 UTC (permalink / raw)
To: cygwin
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 fr die Adresse (null) konnte nicht gefunden werden: No response from server
*** Der Servername fr die Adresse (null) konnte nicht gefunden werden: No response from server
*** Die Standardserver sind nicht verfgbar.
*** 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/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-07-09 10:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-09 3:30 problems with wget in cron-job since cygwin 1.3.11 Kurzawski, Rainer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).