How to Schedule Http Post Service deployed on Azure App Service Web App from Azure

445 Views Asked by At

This is the Azure App Service Web App -> https://dev*******api.azurewebsites.net/

This is the Http Post Service -> https://dev*******api.azurewebsites.net/api/myItem/myPublisher

How can I schedule Http Post Service to run everyday from Azure ?

1

There are 1 best solutions below

0
Doris Lv On

There is a service would meet your need: WebJob.

WebJobs is a feature of Azure App Service that enables you to run a program or script in the same instance as a web app, API app, or mobile app. There is no additional cost to use WebJobs.

You could consider creating a scheduled WebJob. Configure the CRON Expression as: 0 0 0 * * * to run your background task everyday.