1 package org.apache.turbine.modules;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 import org.apache.turbine.services.schedule.JobEntry;
20
21 /***
22 * All Scheduled jobs should extend this. The class that extends
23 * ScheduledJobs should contain the code that you actually want to
24 * execute at a specific time. The name of this class is what you
25 * register in the JobEntry.
26 *
27 * @author <a href="mailto:mbryson@mindspring.com">Dave Bryson</a>
28 * @version $Id: ScheduledJob.java 264148 2005-08-29 14:21:04Z henning $
29 */
30 public abstract class ScheduledJob extends Assembler
31 {
32 /***
33 * Run the Jobentry from the scheduler queue.
34 *
35 * @param job The job to run.
36 */
37 public abstract void run(JobEntry job)
38 throws Exception;
39 }