set-health-check - Cloud Foundry CLI Reference Guide


NAME

set-health-check - Change type of health check performed on an app's process

USAGE

cf set-health-check APP_NAME (process | port | http [--endpoint PATH]) [--process PROCESS] [--invocation-timeout INVOCATION_TIMEOUT]

EXAMPLES

cf set-health-check worker-app process --process worker cf set-health-check my-web-app http --endpoint /foo cf set-health-check my-web-app http --invocation-timeout 10

OPTIONS

--endpoint

Path on the app (Default: /)

--invocation-timeout

Time (in seconds) that controls individual health check invocations

--process

App process to update (Default: web)