File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -311,11 +311,11 @@ public class TaskExecutorExample {
311
311
<para >Spring provides two implementations of the
312
312
<interfacename >Trigger</interfacename > interface. The most interesting
313
313
one is the <classname >CronTrigger</classname >. It enables the scheduling
314
- of tasks based on cron expressions. For example the following task is
314
+ of tasks based on cron expressions. For example, the following task is
315
315
being scheduled to run 15 minutes past each hour but only during the
316
316
9-to-5 "business hours" on weekdays.</para >
317
317
318
- <programlisting language =" java" >scheduler.schedule(task, new CronTrigger("* 15 9-17 * * MON-FRI"));</programlisting >
318
+ <programlisting language =" java" >scheduler.schedule(task, new CronTrigger("0 15 9-17 * * MON-FRI"));</programlisting >
319
319
320
320
<para >The other out-of-the-box implementation is a
321
321
<classname >PeriodicTrigger</classname > that accepts a fixed period, an
@@ -331,7 +331,7 @@ public class TaskExecutorExample {
331
331
custom trigger implementations to be used interchangeably. Such a
332
332
component could take advantage of dependency injection so that such
333
333
<interfacename >Triggers</interfacename > could be configured
334
- externally.</para >
334
+ externally and therefore easily modified or extended .</para >
335
335
</section >
336
336
337
337
<section xml : id =" scheduling-task-scheduler-implementations" >
Original file line number Diff line number Diff line change 772
772
<tbody >
773
773
<row >
774
774
<entry >
775
- <para >url </para >
775
+ <para >value </para >
776
776
</entry >
777
777
<entry >
778
778
<para >true</para >
You can’t perform that action at this time.
0 commit comments