Cron would work fine on Unix platforms..but what about windoze users?? I think if u run an RMI server and let that manage the polling and mailing mechanism ur job should be done..Since u need to get that poller running/shutting down whenever ur webserver starts, u can have an ( possibly ANT Script) to start and stop these together as necessary. HTH -Janaki
-----Original Message----- From: Jason Bell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 5:31 PM To: JDJList Subject: [jdjlist] RE: Daemon Thread 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 To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm
