Listing crawls

The listCrawls task lists all crawls in the Endeca CAS Service.

The syntax for this task is:
cas-cmd listCrawls [-h HostName] [-p PortNumber] [-l true|false]
Where:
  • -h (or --host) specifies the host where the Endeca CAS Service is running. If the flag is omitted, the default is the value of the com.endeca.itl.cas.server.host property in commandline.properties. If the property is not set, the value then defaults to localhost. Optional.
  • -p (or --port) specifies the port of the Endeca CAS Service. If the flag is omitted, the default is the value of the com.endeca.itl.cas.server.port property in commandline.properties. If the property is not set, the value then defaults to 8500. Optional.
  • -l (or --isPortSsl) specifies whether to communicate with the service using an HTTPS connection. A value of true uses HTTPS and treats the com.endeca.itl.cas.server.port property as an SSL port. A value of false uses HTTP and treats com.endeca.itl.cas.server.port as a non-SSL port. Specify false if you enabled redirects from a non-SSL port to an SSL port. Optional.

To list crawls:

  1. Start a command prompt and navigate to <install path>\CAS\version\bin (for Windows), or <install path>/CAS/version/bin (for UNIX).
  2. Type cas-cmd.bat (for Windows), or cas-cmd.sh (for UNIX) and specify the listCrawls task.
    Note: This task name is case sensitive.

Example of listing crawls

C:\Endeca\CAS\3.0.2\bin>cas-cmd listCrawls
FileCrawl
FileCrawl2