Re: What are the process type in Procfile supported by CloudFoundry?


Leandro David Cacciagioni
 

If you need to run cron tasks you have several alternatives like:

- https://docs.run.pivotal.io/marketplace/services/temporize.html
- https://github.com/18F/cg-cron
- https://github.com/18F/cf-go-cron

Look which of this fits better your reqs. For long running background
process what you can do is to change the default startup command (cf push
-c "your command" --health-check-type none | Be sure that you put
--health-check-type none to avoid tcp port check | for more info run: cf
push -h), or declare it in your deployment.yml (
https://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html).
Let me know if you need any help.

Thanks,
Leandro.-

2017-04-05 15:22 GMT+02:00 Sze Siong Teo <szesiong(a)gmail.com>:

Hi, it seems the CF only support 'web' process type as of now? I couldn't
find much information about this in CF documentation

https://docs.cloudfoundry.org/buildpacks/prod-server.html#procfile

Tried worker and cron from some other sites and Heroku seems no difference?

Join {cf-dev@lists.cloudfoundry.org to automatically receive all group messages.