title: How to run a basic Python script on azure for save data in a db
body: <p>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?</p>
  <ul>
  <li>What should I use between app, functions or runbook?</li>
  </ul>
  <p>or</p>
  <ul>
  <li>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</li>
  </ul>