title: Grails background-thread, Quartz
body: <p>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</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p><strong>Solution in this post:</strong></p>
  
  <p><a href="https://stackoverflow.com/questions/4088259/grails-thread-hibernateexception-no-hibernate-session-bound-to-thread">grails thread -&gt; hibernateException: No Hibernate session bound to thread</a></p>