tomcat-users mailing list archives

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

Look at JCrontab (
and Quartz (

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

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Chuck []
>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
>that I need some help with. Sorry if off-topic, have not had much luck
>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
>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,
>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
>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,,
>then you will know what I mean)
>Thanks for any help,
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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.

View raw message