set-health-check - Cloud Foundry CLI Reference Guide |
cf set-health-check APP_NAME (process | port | http [--endpoint PATH]) [--process PROCESS] [--invocation-timeout INVOCATION_TIMEOUT]
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
Path on the app (Default: /)
Time (in seconds) that controls individual health check invocations
App process to update (Default: web)