public interface CronExecutorService extends java.util.concurrent.Executor, java.util.concurrent.ExecutorService
Modifier and Type | Method and Description |
---|---|
void |
schedule(java.lang.Runnable task,
org.quartz.CronExpression expression)
Schedules the specified task to execute according to the specified cron expression.
|
void schedule(java.lang.Runnable task, org.quartz.CronExpression expression)
task
- the Runnable task to scheduleexpression
- a cron expressionCronExpression