How is this Quartz Cron Expression executed
Posted
by n002213f
on Stack Overflow
See other posts from Stack Overflow
or by n002213f
Published on 2009-07-16T08:22:02Z
Indexed on
2010/03/31
13:53 UTC
Read the original article
Hit count: 653
I have a the following;
private String cronExpression = "";
private final String jobID = "MyJObID";
...
Scheduler scheduler = ServiceLocator.getInstance().getScheduler();
CronTrigger trigger = new CronTrigger(jobID , Scheduler.DEFAULT_GROUP, cronExpression);
JobDetail jobDetail = new JobDetail(jobID , Scheduler.DEFAULT_GROUP, MyJob.class);
scheduler.scheduleJob(jobDetail, trigger);
My question is when is this job triggered for the empty cron expression?
© Stack Overflow or respective owner