博客园不常在线

有问题联系微信

微信号

微信公众号

摘要: 1.DisallowConcurrentExceution 从字面意思来看也就是不允许并发执行 简单的演示一下 [DisallowConcurrentExecution] public class TestDisallowConcurrentExectionJob : IJob { public a 阅读全文
posted @ 2020-07-12 19:06 Code技术分享 阅读(5155) 评论(3) 推荐(3) 编辑
摘要: 1.DateOf、ToDayAt、TomorrowAt DateOf:指定年月日时分秒 public static DateTimeOffset DateOf(int hour, int minute, int second) { ValidateSecond(second); ValidateMi 阅读全文
posted @ 2020-07-12 15:27 Code技术分享 阅读(562) 评论(0) 推荐(0) 编辑
摘要: Quartz.Net中为了动态排除一些时间,而使用Calendar可以做到 1.DailyCalendar 可以动态的排除一天中的某些时间段 示例:在一天当中的13:00到14:00不要执行 public async static Task Test() { var scheduler = awai 阅读全文
posted @ 2020-07-12 14:21 Code技术分享 阅读(676) 评论(0) 推荐(0) 编辑