The previous section defines a Schedulable component that schedules a task to print Hello to the console. To schedule this task, the component needs to be configured with two properties:

scheduler

Points to a Scheduler such as the standard Oracle ATG Web Commerce Scheduler.

schedule

Points to the standard Oracle ATG Web Commerce Scheduler. The schedule property can be set in a wide variety of formats, which Oracle ATG Web Commerce interprets through the PropertyEditor that is defined for the Schedule type. For more information on format options, see the next section, Schedule Settings.

For example:

scheduler=/atg/dynamo/service/Scheduler
schedule=every 10 seconds


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved.

Legal Notices