You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i let quartz start automatically everything works fine and i am able to use the myjob.schedule method...
I am trying to start the scheduler at the end of my bootstrap...
I have tried several different ways, and although some seems to be working i get persistence exceptions when i am trying to schedule a job.
I would like to find out what is the proper way to start it in my bootstrap.
I can post exactly what i did, but i prefer to try the proper way first.
Thanks
Offer Baruch
The text was updated successfully, but these errors were encountered:
Looks like commit 3e5e319 fixed my problem.
I upgraded to 2.0.12 and everything works fine now even if auto start is disabled.
I still think that you should document how to start the agent manually...
currently I am doing so by injecting the BootStrap with:
def quartzScheduler
// and calling following at the location appropriate for my application.
quartzScheduler.start()
I was not sure if i should be using the JobManagerService (which is also not documented) and use:
JobManagerService.quartzScheduler.start()
but technically I am not sure if it matters.
again i would be happy if someone can answer my question
Hi
When i let quartz start automatically everything works fine and i am able to use the
myjob.schedule
method...I am trying to start the scheduler at the end of my bootstrap...
I have tried several different ways, and although some seems to be working i get persistence exceptions when i am trying to schedule a job.
I would like to find out what is the proper way to start it in my bootstrap.
I can post exactly what i did, but i prefer to try the proper way first.
Thanks
Offer Baruch
The text was updated successfully, but these errors were encountered: