在 Azure 中部署和安排控制台应用程序

Deploy and schedule console application in Azure

我得到了一个使用 C# 控制台应用程序和 Selenium Chrome 驱动程序开发的网络抓取工具。

是否有在 Azure 平台中每天部署和安排 运行 的选项?

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

是的。您可以将控制台应用程序项目作为 Azure Webjob 部署到 Web 应用程序服务。如果您不熟悉 Azure Webjob,可以在 this wiki 中查看详细信息。但是我不确定你的应用程序是否仍然可以正常运行,因为它有时取决于你的应用程序本身和运行环境。

您可以使用Visual Studio部署它。您可以按照 this tutorial 来实现。

如果您已经创建了一个Webjob并希望将其部署到Azure,您可以参考this blog

安排网络作业:

当您部署 Webjob 时,您可以 use CRON to schedule your Webjob