I would get the operating system to do the scheduling, not the Java program.
If you have a Unix type system then read up on "cron"

Jase Bell


-----Original Message-----
From: Emmanuel Eze [mailto:[EMAIL PROTECTED]]
Sent: 03 September 2002 11:35
To: JDJList
Subject: [jdjlist] Daemon Thread


Hi All,

I need to develop a daemon thread that wakes up at a defined interval to
send email based on some conditions. My web application is purely written in
JSP.

I am trying to choose between writing the daemon as a Servlet or a Java
Application.  I need to get this daemon running as soon as the web server is
started. My web server is Jaguar CTS 4.0 from Sybase.

Can somebody pls advise me on whether to use servlet/java application?  Pls
I'd like to know how I can get the daemon to start with the web server.

Thanks

Emma


To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm


To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm

Reply via email to