Job Scheduler with asp.net mvc

2020-03-31 03:29发布

Every 30 minutes their server generates an XML file with product inside, so my site every half hour would make a request to the URL given to me, their server will generate the XML list updated and will importarselo automatically to update our site.

Does anyone have an idea of how you can implement in asp.net mvc?

2条回答
贼婆χ
2楼-- · 2020-03-31 04:12

http://quartznet.sourceforge.net/

Quartz.NET is a full-featured, open source job scheduling system that can be used from smallest apps to large scale enterprise systems.

查看更多
▲ chillily
3楼-- · 2020-03-31 04:20

You could simulate a Windows Service using ASP.NET to download and import the XML at scheduled intervals. Otherwise, use a dedicated scheduler like Quartz.NET (already mentioned by Mendy), or build your own Windows Service, or run an import script using Windows Task Scheduler.

查看更多
登录 后发表回答