quartz怎么开始和关闭任务
答案:1 悬赏:60 手机版
解决时间 2021-02-11 09:03
- 提问者网友:爱了却不能说
- 2021-02-11 06:08
quartz怎么开始和关闭任务
最佳答案
- 五星知识达人网友:深街酒徒
- 2021-02-11 07:01
sched.withSchedule(cronSchedule(0 0 17 * * , group1)
;
} catch (SchedulerException e) {
/
CronTrigger trigger = newTrigger()
;
m_logger.info(========WoShopJob == run === Scheduler start Complete;TODO
}
}
public static void main(String[] args) throws Exception {
WoShopJob wj = new WoShopJob().run().withIdentity(trigger1.class)
;
wj;
JobDetail job = newJob(WoShopFTP.build();!)?))
.withIdentity(job1.scheduleJob(job.start(), trigger):
public class WoShopJob {
public void run() {
SchedulerFactory sf = new StdSchedulerFactory();
sched, group1)
.build();
Scheduler sched = null.getScheduler();
try {
sched = sf代码很简单
;
} catch (SchedulerException e) {
/
CronTrigger trigger = newTrigger()
;
m_logger.info(========WoShopJob == run === Scheduler start Complete;TODO
}
}
public static void main(String[] args) throws Exception {
WoShopJob wj = new WoShopJob().run().withIdentity(trigger1.class)
;
wj;
JobDetail job = newJob(WoShopFTP.build();!)?))
.withIdentity(job1.scheduleJob(job.start(), trigger):
public class WoShopJob {
public void run() {
SchedulerFactory sf = new StdSchedulerFactory();
sched, group1)
.build();
Scheduler sched = null.getScheduler();
try {
sched = sf代码很简单
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯