Listing scheduled tasks
Use SearchService administrative commands to list the scheduled tasks defined in the Home page database.
Before starting
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...
- 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.
- 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 tasksRelated concepts
Scheduling tasks
Related tasks
Delete scheduled tasks for SearchRelated reference
SearchService commands
});