| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
 | | package com.dy.common.schedulerTask; |  |   |  | import org.quartz.Job; |  | import org.quartz.JobExecutionContext; |  | import org.quartz.JobExecutionException; |  |   |  |   |  | public abstract class TaskJob implements Job { |  |   |  |     /** |  |      * 定时调度的工作(带参数)。 |  |      */ |  |     public abstract void execute(JobExecutionContext ctx) throws JobExecutionException; |  |      |  | } | 
 |