You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
394 B
19 lines
394 B
1 year ago
|
package com.ruoyi.quartz.util;
|
||
|
|
||
|
import org.quartz.JobExecutionContext;
|
||
|
import com.ruoyi.quartz.domain.SysJob;
|
||
|
|
||
|
/**
|
||
|
* 定时任务处理(允许并发执行)
|
||
|
*
|
||
|
*
|
||
|
*/
|
||
|
public class QuartzJobExecution extends AbstractQuartzJob
|
||
|
{
|
||
|
@Override
|
||
|
protected void doExecute(JobExecutionContext context, SysJob sysJob) throws Exception
|
||
|
{
|
||
|
JobInvokeUtil.invokeMethod(sysJob);
|
||
|
}
|
||
|
}
|