Scheduled tasks defined in the repository do not run by default. You must install them into the server to run them. You can install a task in a server using the Management Console or by running an Ant configuration file.
To install using the Management Console, configure the Tasks tab in the Management Console Server Properties pages. For more information, see Chapter 3, “Creating and Configuring Servers,” in the System Administration Guide.
To install a scheduled task from an Ant configuration file, add it to the list of tasks in the server's scheduledTasks Ant configuration property. For example, if the task is “MyTask” and the server name is “MyApplicationServer”, add the following commands to your configure target:
<setProperties applicationServer="MyApplicationServer" merge="true"> <property name="scheduledTasks" operation="append-list" value="MyTask"/> </setProperties>