Home
Listing scheduled tasks
Use SearchService administrative commands to list the scheduled tasks defined in 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.
To list the scheduled tasks defined in the Home page database...
- Open a command window and start the wsadmin command-line tool.
- After the wsadmin command environment has initialized, use one of the following commands to initialize the search environment and start the search script interpreter:
- Stand-alone deployment:
execfile("searchAdmin.py")
- Network deployment:
execfile("WAS_HOME/profiles/Dmgr01/config/bin_lc_admin/searchAdmin.py")
When asked to select a server, you can select any server.
- Use these commands to list tasks defined in the Home page database:
SearchService commands for listing scheduled tasks
Option Description SearchService.listTasks() Lists the search tasks defined in the Home page database. This command does not take any input parameters.
SearchService.listIndexingTasks() Lists the indexing tasks defined in the Home page database. This command does not take any input parameters.
SearchService.listOptimizeTasks() Lists the optimize only tasks defined in the Home page database. This command does not take any input parameters.
Related reference