Quartz.Net CronExpression 构建器

编程入门 行业动态 更新时间:2024-10-28 02:25:37
本文介绍了Quartz.Net CronExpression 构建器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一些 GUI 控件形成典型的 Windows 调度程序(日期\时间选择器、复选框等),我想从中构建 CronExpression 字符串.

I have some GUI controls forming a typical windows scheduler (Date\Time pickers, check boxes, etc) that I would like to build a CronExpression string from.

有谁知道构建表达式字符串的好方法,要么是预先存在的类,要么是解决这个问题的好方法?

Does anyone know of a good way to build the expression string, either a pre-existing class or good approaches to tackle this problem?

推荐答案

Quartz.Net 中的 Cron 表达式由 7 个 子表达式:

Cron expressions in Quartz.Net are made up of 7 sub-expressions:

1. Seconds 2. Minutes 3. Hours 4. Day-of-Month 5. Month 6. Day-of-Week 7. Year (optional field)

我通常使用 CronMaker 来创建我自己的 cron 表达式.

I usually use CronMaker to create my own cron expressions.

另一种选择是其他 工具,效果很好.

Another option is this other tool which works pretty well.

更多推荐

Quartz.Net CronExpression 构建器

本文发布于:2023-11-05 21:11:46,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1561871.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Quartz   Net   CronExpression

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!