2024-11-11 12:03:29 +08:00
|
|
|
package cn.bunny.services.quartz;
|
|
|
|
|
|
|
|
import cn.bunny.services.aop.annotation.QuartzSchedulers;
|
|
|
|
import cn.bunny.services.factory.EmailFactory;
|
|
|
|
import org.quartz.Job;
|
|
|
|
import org.quartz.JobExecutionContext;
|
|
|
|
import org.quartz.JobExecutionException;
|
|
|
|
|
2024-11-25 00:43:34 +08:00
|
|
|
@QuartzSchedulers(type = "email-overhead-report", description = "定时邮件任务")
|
2024-11-11 12:03:29 +08:00
|
|
|
public class MailingJob implements Job {
|
|
|
|
@Override
|
|
|
|
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
|
|
|
EmailFactory emailFactory = new EmailFactory();
|
|
|
|
}
|
|
|
|
}
|