Angelo, How are you instantiating scheduler in your application? Are you using tapestry IOC module?
/lubor On Sat, Oct 11, 2008 at 10:55 AM, Angelo Chen <[EMAIL PROTECTED]>wrote: > > Hi Lubor, > > Thanks for the quick reply, is the scheduler here Quartz? I can't > understand > fully how to use this, any more details? Thanks. > > Angelo > > > Lubor Gajda wrote: > > > > Hi Angelo, > > > > You can try this: > > > > public static void > > contributeRegistryStartup(OrderedConfiguration<Runnable> > > configuration, final Scheduler scheduler) { > > configuration.add("SchedulerStartup", new Runnable() { > > public void run() { > > scheduler.start() > > } > > }); > > } > > > > Regards > > Lubor > > > > On Sat, Oct 11, 2008 at 10:47 AM, Angelo Chen > > <[EMAIL PROTECTED]>wrote: > > > >> > >> Hi, > >> > >> I have a service that uses Quartz to fire an event every minute, I'd > like > >> to > >> know how to start this service once the application is loaded? thanks. > >> > >> Angelo > >> -- > >> View this message in context: > >> > http://www.nabble.com/t5%3A-starting-a-service-automatically-tp19931132p19931132.html > >> Sent from the Tapestry - User mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/t5%3A-starting-a-service-automatically-tp19931132p19931178.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >