On Heroku, I'm trying to setup a worker-only (no web) dyno.
My Profile has:
worker: python common/elections_updater.py
But after I push and try to scale, I get this:
$heroku scale web=0 worker=1
Scaling web processes... done, now running 0
Scaling worker processes... failed
! No such type as worker
What am I doing wrong?
I had the same problem. It turned out that while foreman doesn't care, Heroku doesn't like it if you don't have a space between your process type and your process command in your profile. The following did not work:
worker:python myapp.py
whereas the following does work:
worker: python myapp.py
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With