| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Subject: | problems with wget in cron-job since cygwin 1.3.11 |
| Mime-Version: | 1.0 |
| Date: | Tue, 9 Jul 2002 12:13:06 +0200 |
| X-Mimeole: | Produced By Microsoft Exchange V6.0.5762.3 |
| Message-Id: | <C3E6D21B728C1B4098BC51E7277D345405575E@mssrv01.atlas.de> |
| X-Ms-Has-Attach: | |
| X-Ms-Tnef-Correlator: | |
| From: | "Kurzawski, Rainer" <kurzawski AT stn-atlas DOT de> |
| To: | <cygwin AT cygwin DOT com> |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id g69ABmw31327 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |