Info
Version: | 2.0.0 |
Author(s): | surfsky |
Last Update: | Wednesday, May 6, 2020 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | http://github.com/surfsky/App.Scheduler |
NuGet Url: | https://www.nuget.org/packages/App.SchedulerStd |
Install
Install-Package App.SchedulerStd
dotnet add package App.SchedulerStd
paket add App.SchedulerStd
App.SchedulerStd Download (Unzip the "nupkg" after downloading)
Dependencies
- Newtonsoft.Json(>= 11.0.2)
## 1.功能
- 调度表达式参照 cron
(1) 顺序调整为:年 月 日 时 分 周
(2) 每个部分可用逗号分隔
(3) 只保留 * 通配符
- 含依赖逻辑
- 含成功后重试逻辑(下次运行间隔)
- 含失败后重试逻辑(重试间隔、重试次数限制)
- 可以用配置文件,也可以完全用代码创建任务配置对象来运行任务。
- 任务包含 Data 属性,作为任务调用参数。如测试网站可访问性任务的URL,运行脚本任务的脚本路径等。.