Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Class: urn:content-classes:message Subject: problems with wget in cron-job since cygwin 1.3.11 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Date: Tue, 9 Jul 2002 12:13:06 +0200 X-Mimeole: Produced By Microsoft Exchange V6.0.5762.3 Message-Id: X-Ms-Has-Attach: X-Ms-Tnef-Correlator: From: "Kurzawski, Rainer" To: Content-Transfer-Encoding: 8bit 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 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/