Cannot run Cloudfoundry Task - Unexpected Response 404

后端 未结 2 771
抹茶落季
抹茶落季 2020-12-20 19:01

After my app is successfully pushed via cf I usually need do manually ssh-log into the container and execute a couple of PHP scripts to clear and warmup my cache, potentiall

2条回答
  •  暖寄归人
    2020-12-20 19:44

    As mentioned by @Mathis Kretz Swisscom has gotten around to enable cf run-task since this question was posted. They send out e-mails on 22. November 2018 to announce the feature.

    As discussed on your linked documentation you use the following commands to manage tasks:

    cf tasks [APP_NAME]
    cf run-task [APP_NAME] [COMMAND]
    cf terminate-task [APP_NAME] [TASK_ID]
    

提交回复
热议问题