Well, there is no way to not have SOMETHING running and be able to execute ANYTHING at some scheduled time, short of training a monkey to hit the enter key when the big hand is on the 12 and the little hand is on the 9.
Whatever you do, there is going to be a sleep() involved one way or another. You could run a SQL job and piggy-back on that service, doing away with the servlet altogether.
-- Jay
-----Original Message-----
From: blueads.com [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 30, 2000 11:39 PM
To: [EMAIL PROTECTED]
Subject: Executing a servlet at a Certain Time
I am using NT on a weblogic 4.5.1 server.
- I would like to execute a servlet that does a database update once a day.
I would like to do this with out having a sleep() or while loop active. In
other words, I want to eat as little cpu time as possible. I know this topic
was brought up before, with answers suggesting what I don't want to do.
Does anyone have a good solution to this?
Sincerely,
Tom Kochanoiwcz
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html