简体   繁体   English

如何在Azure上安排工作?

[英]How to schedule a job on Azure?

So here is my requirement, 所以这是我的要求

I have a service provider that generates a files with data in a proprietary format on a text file. 我有一个服务提供商,可以在文本文件上生成具有专有格式数据的文件。 I have to download the file, parse it, then process it for specific records, and then update the database accordingly. 我必须下载文件,对其进行解析,然后对其进行处理以获取特定记录,然后相应地更新数据库。 The process needs to run multiple times on specific days (mostly Mondays & Fridays). 该过程需要在特定日期(主要是星期一和星期五)运行多次。

I am using Windows Azure platform. 我正在使用Windows Azure平台。 My website is hosted on azure & using SQL Server as my database. 我的网站托管在azure上,并使用SQL Server作为数据库。 Using C# to create the database updater app. 使用C#创建数据库更新器应用程序。

What is the best approach to schedule a database updater job? 安排数据库更新程序作业的最佳方法是什么? Do I even need the updater application to be written on there is some better way to achieve the above. 我是否甚至需要编写更新程序应用程序,还有一些更好的方法可以实现上述目的。

Thanks 谢谢

Based on the information you've provided I'd start by exploring Web Jobs ( http://www.hanselman.com/blog/IntroducingWindowsAzureWebJobs.aspx ). 根据您提供的信息,我将从探索Web Jobs( http://www.hanselman.com/blog/IntroducingWindowsAzureWebJobs.aspx )开始。

Web Jobs allow you to create a schedule jobs that will run for you at intervals or continually. Web作业允许您创建计划作业,该计划作业将间隔或连续运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM