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