'How do I run Azure WebJobs with pm2
I decided to host my discord bot on Azure with the WebJobs feature in the App Service resource. I wanted to know how I can run the webJob with pm2 and not the default runtime in Azure
Extra: Is there a way to use the express module on the App Service resource and add some content to the website IF i dont host the bot in WebJobs format
Solution 1:[1]
I recommend using https://github.com/breejs/bree for asynchronous background jobs. I'm using it, give it a chance. Behind the scenes, it uses worker threads, so the main thread of node never gets blocked.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Jone Polvora |
