Delete scheduled tasks for Search 

Use SearchService administrative commands to delete scheduled task definitions from the Home page database.

Before you begin

To use SearchService administrative commands, use the wsadmin client. See Starting the wsadmin client for information about how to start the wsadmin command-line tool.


To delete a scheduled task definition from the Home page database...

  1. From the dmgr host:

      cd $DMGR_PROFILE/bin
      ./ -jython

      If prompted to specify a service to connect to, type 1 to pick the first node in the list. Most commands can run on any node. If the command writes or reads information to or from a file using a local file path, pick the node where the file is stored.

  2. Use the following command to delete scheduled task definitions in the Home page database.

      SearchService.deleteTask(String taskName)

        Deletes the task definition with the specified name from the Home page database.

        This command takes a string value, which is the name of the task to be deleted. For information about how to retrieve the names of the tasks in the Home page database, see Listing scheduled tasks.

        For example:


  3. To refresh the Home page database and purge it of information related to the deleted task, use the following command:


Parent topic

Configure scheduled tasks

Related tasks

Listing scheduled tasks

Related reference
SearchService commands