wget is a text-based client that can make HTTP and FTP requests, copying the
results to a file.  It's not a browser...it doesn't show anything on the
screen but a progress message.  So, if there was a file somewhere that you
wanted, like the latest binary release of Tomcat, you could type something
like:

wget http://some.mirror.com/tomcat-binary.gz

and that file would be stored in the local directory on your system.  No
need for a browser, no need for a GUI, etc.

Sendmail is a MTA (mail transport agent).  Probably 2/3 or more of the
electronic mail sent on the Internet is sent using sendmail at one point or
another.  You normally don't access it from the command line (its a
service).  It normally listens on port 25, and is normally installed by
default on most recent versions of UNIX/Linux.

John


> -----Original Message-----
> From: Deepa Raja [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 10, 2003 4:29 AM
> To: Tomcat Users List
> Subject: RE: JSP source
> 
> 
> Sorry for asking some dumb question. I'm not a unix person.
> 
> What is wget and sendmail?
> I cannot see those commands in UNIX.
> 
> Thanks
> Deepa
> 
> 
> -----Original Message-----
> From: Will Hartung [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 10, 2003 1:43 AM
> To: Tomcat Users List
> Subject: Re: JSP source
> 
> 
> > From: "Bodycombe, Andrew" <[EMAIL PROTECTED]>
> > To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> > Subject: RE: JSP source
> 
> 
> > Fetching the HTML is straightforward. Just create a URL 
> connection and
> read
> > the data from the stream.
> 
> Yup, great idea Andy, but too much work.
> 
> Stick this in your cron tab
> 
> #!/bin/sh
> wget -O - http://your.server.com/report.jsp?param1=xyz&param2=abc  |
> sendmail [EMAIL PROTECTED]
> 
> P.S. -O - option of wget streams the output to stdout, 
> sendmail does the
> rest
> P.P.S. I can't even spell 'sendmail', so this may do some 
> really horrble
> thing, but it's the right approach and a good start.
> 
> Have fun!
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to