Hello?! ... maybe this person doesn't have/use Unix ? :o
>>> [EMAIL PROTECTED] 8/2/00 9:53 >>>
Krishnan,
Why don't you just convert the servlet into a Java application and set up
a cron job (Unix) to run it at the appropriate time?
-Richard
-----Original Message-----
From: Krishnan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 02, 2000 5:31 AM
To: [EMAIL PROTECTED]
Subject: How can I schedule a Job in JSP or servlet...
Hi pals,
We have to run a servlet or JSP automatically on saturday night at 12. We
are planning to write a servlet and in the init method of that servlet,
planning to invoke a thread which checks for the specified time and if
satisfies, do the necessary operations. We will load that servlet at startup
of the server. I want to know, is there is any other possible way of
achieving the same.
Your replies are highly appreciated.
rgds
krishnan
===========================================================================
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
===========================================================================
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
===========================================================================
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