github作者示例地址 https://github.com/fluentscheduler/FluentScheduler 發佈web程序在IIS中,最好推薦將IIS改下配置,設置如下: 应用程序池-高级设置-启动模式:AlwaysRunning 应用程序-高级设置-常规-预加载已启用:True //示例代碼: using FluentScheduler;namespace Web
FluentScheduler是一个C#的灵活的任务调度组件,支持各类任务调度。网上有很多演示代码,此处记录下来,方便自己查找。 // See https://aka.ms/new-console-template for more information//Console.WriteLine("Hello, World!");using FluentScheduler;//FluentSc
写在前面 FluentScheduler是.Net平台下的一个自动任务调度组件,以前经常用的是Quarz.Net,相对而言FluentScheduler的定时配置更为直观,可直接用接口进行参数化设置,对Cron表达式有恐惧症的人来说简直就是福音,使用起来非常方便。 老规矩从NuGet获取该组件 代码实现 public class SchedulerTester{public