wget-cron error
Hambuch Gabor
hambuch at w5.hu
2012. Már. 20., K, 21:46:44 CET
2012-03-20 21:40 keltezéssel, Molnar Peter írta:
> Hello!
> wget-t akarnek futtatni cronbol.
> A hajamat tepem de nem tudom megmondani hol a hiba.
> A parancs egyszeru, a teszt kedveert:
> wget www.origo.hu/index.html
>
> Ha a cron futtatja ezt kapom hibauzenetkent:
>
> wget www.origo.hu/index.html
> --2012-03-20 21:29:09-- http://www.origo.hu/index.html
> Resolving 3128... 0.0.12.56
> Connecting to 3128|0.0.12.56|:80... failed: Invalid argument.
>
> Ha webmin alol a cron "futtatas most" gombra kattintok, akkor meg ezt:
>
> wget www.origo.hu/index.html
> --2012-03-20 21:29:56-- http://www.origo.hu/index.html
> Reusing existing connection to www.origo.hu:80.
> HTTP request sent, awaiting response... 200 OK
> Length: unspecified [text/html]
> Saving to: `index.html'
>
> 0K .......... .......... .......... .......... .......... 410K
> 50K .......... .......... ......... 1.60M=0.1s
>
> 2012-03-20 21:29:56 (569 KB/s) - `index.html' saved [81781]
>
> Miert nem jo a nevfeloldas, mi ez a
> 3128... 0.0.12.56-os cím?
> Amugy nemcsak a www.origo.hu cimmel probalkoztam,
> hanem massal is, de a feloldas mindig ugyanez a szamsor.
> Proxy nincs.
Nekem gyanús, hogy a cronos környezet mintha egy hibásan beállított
proxy-val lenne gazdagabb. Próbálj meg a wget előtt kiadni egy export
http_proxy="" parancsot, hátha...
--
Hambuch Gábor
hambuch at w5.hu
További információk a(z) Techinfo levelezőlistáról