CronParse 1.0.5
See the version list below for details.
dotnet add package CronParse --version 1.0.5
NuGet\Install-Package CronParse -Version 1.0.5
<PackageReference Include="CronParse" Version="1.0.5" />
paket add CronParse --version 1.0.5
#r "nuget: CronParse, 1.0.5"
// Install CronParse as a Cake Addin #addin nuget:?package=CronParse&version=1.0.5 // Install CronParse as a Cake Tool #tool nuget:?package=CronParse&version=1.0.5
DelayQueues
介绍
CronParse 是一个简单的 .NET 库, 用于解析 Cron 表达式; CronParse is a simple .NET library for parsing Cron expressions
软件架构
软件架构说明
安装教程
- xxxx
- xxxx
- xxxx
使用说明
using CronParse;
static void Main(string[] args)
{
var _myCron = new CronStruct("*/30 * * * * ?");
Console.WriteLine(_myCron.GetNextTime(DateTime.Now));
Console.ReadLine();
}
Method | Job | Runtime | Mean | Error | StdDev | Allocated |
---|---|---|---|---|---|---|
CronStruct | .NET 6.0 | .NET 6.0 | 84.58 us | 1.662 us | 1.632 us | 520 B |
Cronos | .NET 6.0 | .NET 6.0 | 86.75 us | 1.292 us | 1.079 us | 88 B |
CronStruct | .NET 7.0 | .NET 7.0 | 79.66 us | 0.910 us | 0.851 us | 520 B |
Cronos | .NET 7.0 | .NET 7.0 | 86.73 us | 1.638 us | 1.683 us | 88 B |
CronStruct | .NET 8.0 | .NET 8.0 | 79.46 us | 0.814 us | 0.761 us | 520 B |
Cronos | .NET 8.0 | .NET 8.0 | 87.32 us | 1.645 us | 1.539 us | 88 B |
Some examples of Cron expressions
*/5 * * * * ? 0 */1 * * * ? 0 0 5-15 * * ? 0 0/3 * * * ? 0 0-5 14 * * ? 0 0/5 14 * * ? 0 0/5 14,18 * * ? 0 0/30 9-17 * * ? 0 0 10,14,16 * * ?
0 0 12 ? * WED 0 0 17 ? * TUES,THUR,SAT 0 10,44 14 ? 3 WED 0 15 10 ? * MON-FRI 0 0 23 L * ? 0 15 10 L * ? 0 15 10 ? * 6L 0 15 10 * * ? 2025 0 15 10 ? * 6L 2024-2025 0 15 10 ? * 6#3
"30 * * * * ?" "30 10 * * * ?" "30 10 1 * * ?" "30 10 1 20 * ?" "30 10 1 20 10 ? *" "30 10 1 20 10 ? 2024" "30 10 1 ? 10 * 2024" "30 10 1 ? 10 SUN 2024" "15,30,45 * * * * ?" "15-45 * * * * ?" "15/5 * * * * ?" "15-30/5 * * * * ?" "0 0/3 * * * ?" "0 15 10 ? * MON-FRI" "0 15 10 L * ?" "0 15 10 LW * ?" "0 15 10 ? * 5L" "0 15 10 ? * 5#3"
参与贡献
- Fork 本仓库
- 新建 Feat_xxx 分支
- 提交代码
- 新建 Pull Request
特技
- 使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md
- Gitee 官方博客 blog.gitee.com
- 你可以 https://gitee.com/explore 这个地址来了解 Gitee 上的优秀开源项目
- GVP 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
- Gitee 官方提供的使用手册 https://gitee.com/help
- Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 https://gitee.com/gitee-stars/
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net6.0
- No dependencies.
-
net7.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on CronParse:
Package | Downloads |
---|---|
DelayQueues
C#延时队列,定时任务(支持Cron表达式),不支持分布式,支持失败重试,支持设置失败次数 |
|
MiniScheduler
简单的调度程序,定时任务(支持Cron表达式),延时队列,不支持分布式,支持失败重试,支持设置失败次数 A simple scheduler, timed tasks (supports Cron expressions), delayed queues, does not support distributed, delayed queues support failure retry, support for setting the number of failures |
GitHub repositories
This package is not used by any popular GitHub repositories.