Search code examples
azureazure-webjobsazure-virtual-machineazure-web-app-service

Deploy and schedule console application in Azure


I got a web scraping tool developed using C# console application and Selenium Chrome driver.

Is there an option to deploy and schedule to run daily in Azure platform?


Solution

  • Is there an option to deploy and schedule to run daily in Azure platform?

    Yes. You can deploy your console application project to a web App service as an Azure Webjob.If you're unfamiliar with Azure Webjob, you can see details in this wiki. But I'm not sure whether your application can still work well, because it depends on your application itself and running environment sometimes.

    You can use Visual Studio to deploy it. You can follow this tutorial to achieve that.

    If you have already created a Webjob and want deploy it to Azure, you can refer to this blog.

    Schedule the Webjob:

    When you deploy the Webjob, you can use CRON to schedule your Webjob.