I have a Python Flask app on Heroku that serves web pages but also allows certain tasks to be launched which I believe would be best structured as background tasks. As such
$ cat Procfile web: bin/web $ cat bin/web python app.py & python worker.py