This will work, but you do get drift, there is no correction for daylight savings, leap year, support for holidays, etc. Our scheduler is a trivial interval based service that is not approriate for cron like or more sophisticated requirements. You might look at quartz and improving its integration with JBoss. See http://sourceforge.net/projects/quartz

--
xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

Brian Wallis wrote:

On Fri, 18 Jul 2003 10:20 pm, Phil Shrimpton wrote:

Hi,

I have implemented a schedualed MBean, and all works fine, I can get it
'triggering' every minute, every 10 etc., but I need it to 'trigger' at 1am
every day, and can't find the correct combination of attributes.

Has anyone got any ideas on the best values for..

InitialStartDate
SchedulePeriod


Doesn't something like
  "Mon, 1 Jul 2003 01:00:00"
and
  86400000

work? It should.

brian wallis...



------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to