Click
Click Examples

Source Viewer : /quartz/quartz-job-scheduler.htm

<p>
This example shows you how to integrate the 
<a target="blank" class="external" href="http://www.opensymphony.com/quartz/">Quartz</a>
job scheduling framework into a Click application. The 
<a target="blank" href="$context/source-viewer.htm?filename=WEB-INF/classes/org/apache/click/examples/quartz/ExampleJob.java">ExampleJob</a>
below was added to Quartz by the Click Examples DatabaseInitListener.
</p>

#set ($flash = "") 
#set ($flash = $session.flash) 
#if ($flash != "")
  <p class="infoMsg">$flash</p>
#end

$table

## Render the control buttons
<div style="margin-top:0.75em;margin-left:0.5em;">
$refresh 
#if ($pauseAllJobs) $pauseAllJobs #end
#if ($resumeAllJobs) $resumeAllJobs #end
#if ($newJob) $newJob #end
</div>