tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Will Hartung" <wi...@msoft.com>
Subject Re: JSP source
Date Fri, 10 Jan 2003 01:43:11 GMT
> From: "Bodycombe, Andrew" <andrew.bodycombe@siemens.com>
> To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
> 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 yourclient@client.com

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:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message