Home

 

Delete scheduled tasks

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


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

The SearchService commands are used to access a service that provides an administrative interface for adding scheduled task definitions to the Home page database. To delete a scheduled task definition from the Home page database...

  1. Open a command window and start the wsadmin command-line tool.

  2. After the wsadmin command environment has initialized, use one of the following commands to initialize the search environment and start the search script interpreter:

    When asked to select a server, you can select any server.

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


    SearchService command for deleting scheduled tasks

    Command Description
    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 example:

      SearchService.deleteTask("mine")
      

  4. To refresh the Home page database and purge it of information related to the deleted tasks...

    SearchService.refreshTasks


Configure scheduled tasks

 

Related reference


SearchService commands


+

Search Tips   |   Advanced Search