Listing scheduled tasks 

Use SearchService administrative commands to list the scheduled tasks defined in 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.


Procedure

To list the scheduled tasks defined in the Home page database...

  1. From the dmgr host:

      cd $DMGR_PROFILE/bin
      ./wsadmin.sh -jython
      execfile("searchAdmin.py")

      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 commands to list tasks defined in the Home page database.

      SearchService.listTasks()

        Lists all Search scheduled task definitions (indexing and optimize) defined in the Home page database.

        This command does not take any input parameters.

      SearchService.listIndexingTasks()

        Lists all scheduled indexing task definitions defined in the Home page database.

        This command does not take any input parameters.

      SearchService.listOptimizeTasks()

        Lists all scheduled optimize task definitions defined in the Home page database.

        This command does not take any input parameters.


Parent topic

Configure scheduled tasks

Related concepts
Scheduling tasks


Related tasks


Delete scheduled tasks for Search

Related reference
SearchService commands


   

 

});