Score:0

What is the easiest way to trigger an api endpoint on an hourly bases using azure?

tj flag

I have an App Service that runs FastApi in a Docker Container. I need to call a certain endpoint every hour. What is the easiest way to achive this? My plan so far is to setup the smallest VM available and run a cronjob. Is there a simpler solution?

Score:0
ng flag

Yes, there are some simpler options:

  1. Azure Automation - run a powershell script on a schedule to call your API. All PaaS service, cost only for time running and a generous free amount so will likely cost very little, if anything
  2. Logic Apps - Run a workflow that makes a rest call. Again, PaaS service, and very little cost.

I would look at one of these, both will work.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.