I’m developing a football manager website, but I can’t figure out how to use properly the background-thread plugin and Quartz plugin (there is no much docs).
My problem is..
I have a Controller of a Match class, with a function that I need to start at some time.
With quartz I have tried to create a job but then I cannot call directly the function (and how many job should I create if I have more match to start?) or I don’t know how to do it, and with background-thread I create the service class but then I have no idea how to implement it.
Someone Can help me with this?
Thanks
EDIT:
Solution in this post:
grails thread -> hibernateException: No Hibernate session bound to thread
Some times just need to keep tryng 🙂
With quartz I do like this:
Seems to work.
But still wonder I to use background-thread