The original poster asked for a substitute for allaire.jrun.scheduler.CronService, described at http://www.macromedia.com/v1/handlers/index.cfm?ID=23501&Method=Full&PageCall=/support/index.cfm.  He asked for "sending a Batch email functionality every two hours", but "in every part of a time you specify" (as in, every two hours during working hours).  The 2.x scheduler cannot do that out of the box.  I suggested Quartz because it can.
 
I wasn't making issue with your suggestion, simply interested in what other JBoss scheduler would emulate what he was saying he was already working with.  I don't know what a *Provider class is, but I'll do a search of the sources and see what comes up. 
 
In the end, it's just a scheduler...
 
peace,
 
-b
-----Original Message-----
From: Guy Rouillier [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 01, 2003 10:54 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Asking about Schedular Servlet in JBoss

You say "calendar-based", but the original poster only asked for "sending a Batch email functionality every two hours".  Regardless, the original scheduler in JBoss, which is still in the 3.x series at /varia/src/main/org/jboss/varia/scheduler/Scheduler.java, supports periodic notifications, where of course you identify the periodicity.  You can also specify a start date.  This should be enough to satisfy the original request.  Note, however, that Andreas added a much more robust scheduler.  This is what the *Provider classes are for.
----- Original Message -----
Sent: Wednesday, January 01, 2003 5:48 PM
Subject: RE: [JBoss-user] Asking about Schedular Servlet in JBoss

I mentioned "quartz" because he mentioned "cron".  Just curious, which JBoss scheduler will allow for cron-type recurring calendar-based triggers to be fired off? 
-----Original Message-----
From: Guy Rouillier [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 01, 2003 3:36 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Asking about Schedular Servlet in JBoss

JBoss has scheduler (two, actually).  They will both work for this application.  Don't understand why you are calling a URL to send an email.  JBoss has a mail service, why not just invoke that to send the email?  What is the URL doing for you?
----- Original Message -----
Sent: Monday, December 30, 2002 3:48 AM
Subject: [JBoss-user] Asking about Schedular Servlet in JBoss

Hi all,
 
I was deploying my application under JRun 3.1 Web server, and I was using the "allaire.jrun.scheduler.CronService" servlet class that comes with JRun library, this servlet works as a schedular to call a URL every part of time that you specify, (I was using it, to control sending a Batch email functionality every two hours).
 
So, any one know a substitute in JBoss that could help me to get the same functionality as JRun servlet class.
 
Quick help is very thanked.
 
 
 
 

Reply via email to