'How to run a basic Python script on azure for save data in a db

I would like to run a python script on Azure that connects to an Azure bus queue and saves the data to a database. I installed my script on an Azure service plan app but the script runs only when I am connected by ssh to the app (why?). I have seen many posts that recommend to either use azure functions (but they are triggered by ssh requests which is not my case) or to use runbooks but I have no idea how it works and if I can use that for my case. Do you have any advice?

  • What should I use between app, functions or runbook?

or

  • how can I make my script work even when I don't have an ssh connection with my app? Thank you in advance for your help


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source