[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: scheduler servlet
Why does it have to be a servlet? Servlets are transient by their nature and
making a scheduler out of one is not impossible but it's not natural. You
could just write a small application that uses java.util.TimerTask and
schedule it to run whatever you want. Or if it's that important, make a
singleton class that will run inside web server and use TimerTask to
schedule events.
Nedim.
-----Original Message-----
From: Zhou Kathy [mailto:vkathy1211@yahoo.com]
Sent: Thursday, February 28, 2002 9:38 AM
To: ajug-members@www.ajug.org
Subject: scheduler servlet
I need some hints here.
In the cold fusion, we are able to set up a task
running on schedule, such as running this task
midnight every day. I am asking if there is any way to
build a java servlet to make a jsp page running on
schedule.
I am using the jrun3.1/Unix and I check the knowledge
base on the Macromedia site. I could not make the
servlet work according to the way they suggest on
article 21708 and 22440.
The error I got is "no such servlet".
Could anyone give me some suggestions on it?
Thanks for help.
Kathy
__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com