diff --git a/src/reference/docbook/scheduling.xml b/src/reference/docbook/scheduling.xml index 6e3ab22cdb..55c36cbc1b 100644 --- a/src/reference/docbook/scheduling.xml +++ b/src/reference/docbook/scheduling.xml @@ -311,11 +311,11 @@ public class TaskExecutorExample { Spring provides two implementations of the Trigger interface. The most interesting one is the CronTrigger. It enables the scheduling - of tasks based on cron expressions. For example the following task is + of tasks based on cron expressions. For example, the following task is being scheduled to run 15 minutes past each hour but only during the 9-to-5 "business hours" on weekdays. - scheduler.schedule(task, new CronTrigger("* 15 9-17 * * MON-FRI")); + scheduler.schedule(task, new CronTrigger("0 15 9-17 * * MON-FRI")); The other out-of-the-box implementation is a PeriodicTrigger that accepts a fixed period, an @@ -331,7 +331,7 @@ public class TaskExecutorExample { custom trigger implementations to be used interchangeably. Such a component could take advantage of dependency injection so that such Triggers could be configured - externally. + externally and therefore easily modified or extended.
diff --git a/src/reference/docbook/spring.tld.xml b/src/reference/docbook/spring.tld.xml index 49d89ec433..0ae0a49ea3 100644 --- a/src/reference/docbook/spring.tld.xml +++ b/src/reference/docbook/spring.tld.xml @@ -772,7 +772,7 @@ - url + value true