JavierG wrote:
>
> Hi out there!
>
> I�m trying to force a servlet to run according to a certain schedule, but
> the specification seems to leave servlet lifetime entirely in the Servlet
> Engine hands (maybe I�m not reading where I should). It�s there a way to do
> this?

The only thing you can do in that case is either to write shell script
to be invoked by UNIX cron daemon and/or Windows AT command or to start
using Resin that I know has a configuration tag called something like
<run-at>. Either ways have their own benefits/drawbacks, so it's up to
you which one you'll use. I haven't had such requirement before, so
don't ask me which one to choose. Just try both and results should tell
you.

>       J.

Jacek Laskowski

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to