Tag: repeat

在C#.NET MVC应用程序中执行预定任务

我正在尝试为我的.NET MVC应用程序实现一个逻辑,我将在以下基础上触发我的应用程序中的计划任务: First scheduled task to run from 00 am to 1 am in the morning Second scheduled task to run from 1:10 am to 08:00 am in the morning Third scheduled task to run from 8:15 am to 11:15 pm every 1 hour 这将每年365天每天重复…… 我可以使用.NET或外部库中的哪种机制以最简单的方式实现这一点? 我试图用Quartz.NET库实现它,但我根本不喜欢它,我有两个计划的任务运行,其中一个在预定的时间内根本不会运行…