tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Polling/Timing Help: Kinda Offtopic
Date Fri, 22 Aug 2003 16:38:12 GMT

Howdy,
Look at JCrontab (http://jcrontab.sourceforge.net/index.shtml)
and Quartz (http://www.part.net/quartz.html).

Good luck ever achieving the reliability and accuracy of cron in a java
program ;)

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Chuck [mailto:tomcat@echeeba.com]
>Sent: Friday, August 22, 2003 10:29 AM
>To: Tomcat Users List
>Subject: Polling/Timing Help: Kinda Offtopic
>
>
>Our project is based on Tomcat but we have a standalone server
component
>that I need some help with. Sorry if off-topic, have not had much luck
>elsewhere.
>
>Anyway, I will have a standalone java server (which some tomcat webapps
>will be talking to). What I need to do is some advanced scheduling
based
>on time. I basically need some mechanism based on time where I can run
>tasks on a schedules basis. UNIX cron is a vague example, but what I
>need must be more accurate and reliable. (ie, UNIX cron, if you have 10
>jobs schedules to start at 12:01pm, there is no gurantee as to what
>second they will actually spawn)
>
>For example, I have an SNMP agent that will wake up every 15 seconds,
do
>it's thing, and then sleep for another 15 seconds. There will also be
>many other agents all will different polling periods that are user
>customizable.
>
>I would like to work in units of milliseconds. Can anyone point me to
>some resources/websites/example code that can assist me in this
>endeavor? I am relateively new to Java but have a lot of C/C++ in my
>background. I am now a Systems Engineer and am designing a network
>monitoring package. (if you are familiar with opennms, www.opennms.org,
>then you will know what I mean)
>
>Thanks for any help,
>CC
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


Mime
View raw message