The
getCrawlStatus
task returns the status of a specific
crawl.
The syntax for this task is:
cas-cmd getCrawlStatus -id CrawlName [-h HostName] [-p PortNumber] [-l true|false]
Where:
-id
(or--crawl_id
) specifies the name of the crawl to retrieve status for. Required.-h
(or--host
) specifies the host where the CAS Service is running. If the flag is omitted, the default is the value of thecom.endeca.itl.cas.server.host
property incommandline.properties
. If the property is not set, the value then defaults tolocalhost
. Optional.-p
(or--port
) specifies the port of the CAS Service. If the flag is omitted, the default is the value of thecom.endeca.itl.cas.server.port
property incommandline.properties
. If the property is not set, the value then defaults to8500
. Optional.-l
(or--isPortSsl
) specifies whether to communicate with the service using an HTTPS connection. A value oftrue
uses HTTPS and treats thecom.endeca.itl.cas.server.port
property as an SSL port. A value offalse
uses HTTP and treatscom.endeca.itl.cas.server.port
as a non-SSL port. Specifyfalse
if you enabled redirects from a non-SSL port to an SSL port. Optional.
To get the status of a crawl:
Example 20. Example of getting the status of a crawl
C:\Endeca\CAS\<version>\bin>cas-cmd getCrawlStatus -id FileCrawl RUNNING