How to run Play! background jobs on Heroku

前端 未结 1 1774
忘了有多久
忘了有多久 2021-01-15 12:42

I\'m hardly using heroku for my Play! applications nowadays and I am new. I can deploy my web application but background jobs don\'t run. I tried to add worker but I got thi

相关标签:
1条回答
  • 2021-01-15 12:58

    You have to define the worker instead of web:

    worker: play run --http.port=$PORT $PLAY_OPTS
    
    0 讨论(0)
提交回复
热议问题