修改Web.xml文件
设置每15分钟运行的Servlet
<servlet name='alarm' servlet-class='test.TestAlarm'>
<run-at>:00, :15, :30, :45</run-at>
</servlet>
设置每天16:30和20:00运行的Servlet
<servlet name='alarm' servlet-class='test.TestAlarm'>
<run-at>16:30,20:00</run-at>
</servlet>