3

I have added this Procfile code:

worker: python jervis-1.py & python jervis-2.py & wait -n

It should run at least one of the bots, but it doesn't run the bot. I don't really know how to fix this error and what all details I should give. Ask me for any details if you want.

Thanks!

Update:

This is the build log of heroku:

-----> Building on the Heroku-20 stack
-----> Using buildpack: heroku/python
-----> Python app detected
-----> Using Python version specified in runtime.txt
 !     Python has released a security update! Please consider upgrading to python-3.9.5
       Learn More: https://devcenter.heroku.com/articles/python-runtimes
-----> No change in requirements detected, installing from cache
-----> Using cached install of python-3.9.3
-----> Installing pip 20.2.4, setuptools 47.1.1 and wheel 0.36.2
-----> Installing SQLite3
-----> Installing requirements with pip
-----> Discovering process types
       Procfile declares types -> worker
-----> Compressing...
       Done: 80.4M
-----> Launching...
       Released v17
       https://jervis-bots.herokuapp.com/ deployed to Heroku
Bhavyadeep Yadav
  • 819
  • 8
  • 25

1 Answers1

1

worker: python -C jervis-1.py & python jervis-2.py & wait -n should work.

Emir Sürmen
  • 884
  • 3
  • 14
  • 33