title: When using quartz scheduler in a java web app (struts2), where do i configure the jobs?
body: <p>I'm trying to integrate quartz scheduler into a struts2 web app. Just wondering <em>where</em> you configure the jobs? I think the best place would be to put their details in the quartz.properties, but i cannot find the documentation that shows how to do this.</p>
  
  <p>All i can find is examples of how to programmatically create the jobs, but if i have to do that then i don't really see any advantage over simply using a java.util.Timer... Plus, in a web app, i can't think of a good place to put run-once startup code.</p>
  
  <p>Any 'best practices' advice greatly appreciated.</p>