简体   繁体   中英

C# task scheduler query

Hi I have developed a scheduler sometime back for an ASP.Net site using cache expiration callbacks. I have the budget now to move the site to a dedicated server so I have written the scheduler as a windows service using a timer object - its working well in test envirinment. I want to know if the timer approach is good enough for this. In other words - what are the best design strategies for creating a ROBUST C# scheduler engine which can load/dispatch the configured/stored tasks every 'n' minutes.

I would use Quartz.NET . It's well tested, open source and I've used it several times with no problems.

EDIT: Actually, having just spoken to a colleague about scheduling, there is something to be said for using windows scheduled tasks when a lightweight solution will suffice (as another poster pointed out).

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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