auth-server-java/service/src/main/java/cn/bunny/services/quartz/JobHello.java

18 lines
569 B
Java
Raw Normal View History

2024-10-17 16:51:08 +08:00
package cn.bunny.services.quartz;
2024-10-15 22:39:22 +08:00
import cn.bunny.services.aop.annotation.QuartzSchedulers;
import lombok.extern.slf4j.Slf4j;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
@Slf4j
@QuartzSchedulers(type = "test", description = "JobHello任务内容")
public class JobHello implements Job {
@Override
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
2025-04-21 14:23:06 +08:00
// 测试使用
System.out.print("执行任务--JobHello。。。。。。。。。");
}
}