Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

нРОПЮБХРЭ ОН ОНВРЕ ПЕГСКЭРЮР ПЮАНРШ ОПНЦПЮЛЛШ

0 views
Skip to first unread message

Maxim Krasovsky

unread,
Nov 21, 2001, 4:14:09 AM11/21/01
to
> echo test | mail -s test root
Слово test я вижу в почте

А как заставить работать следующую команду:

> wget -t 1 http://192.168.0.140/123.html | mail -s test root
--10:58:28-- http://192.168.0.140:80/123.html
=> `123.html'
Connecting to 192.168.0.140:80... connected!
HTTP request sent, awaiting response... 404 Not Found
10:58:28 ERROR 404: Not Found.

Null message body; hope that's ok
>
И получаю пустое письмо.


--
Максим Красовский
8<----------------------------------------------------------------------

Unix is like a wigwam: No windows, no gates and an apache inside.


Sergey Goryachev

unread,
Nov 21, 2001, 4:53:05 AM11/21/01
to

> А как заставить работать следующую команду:
>
> > wget -t 1 http://192.168.0.140/123.html | mail -s test root
> --10:58:28-- http://192.168.0.140:80/123.html
> => `123.html'
> Connecting to 192.168.0.140:80... connected!
> HTTP request sent, awaiting response... 404 Not Found
> 10:58:28 ERROR 404: Not Found.
>
> Null message body; hope that's ok
> >
> И получаю пустое письмо.
>

видимо, так

wget -t 1 http://192.168.0.140/123.html 2>&1 |mail -s"wget job output" root

--
Отправлено через сервер Talk.Ru - http://www.talk.ru

0 new messages