Quartz入门详解专题中,有哪些关键知识点和步骤需要掌握?
- 内容介绍
- 文章标签
- 相关推荐
本文共计6884个文字,预计阅读时间需要28分钟。
Cron表达式用于配置CronTrigger实例。这些表达式由七个子表达式组成,描述了调度细节。子表达式用空格分隔。
Cron-Expressionsare used to configure instances of CronTrigger.
Cron-Expressions are strings that are actually made up of seven sub-expressions, that describe individual details of the schedule. These sub-expression are separated with white-space, and represent:
- Seconds
- Minutes
- Hours
- Day-of-Month
- Month
- Day-of-Week
- Year (optional field)
/用于递增触发。
如在秒上面设置"5/15" 表示从5秒开始,每增15秒触发(5,20,35,50)。
在月字段上设置'1/3'所示每月1号开始,每隔三天触发一次。
本文共计6884个文字,预计阅读时间需要28分钟。
Cron表达式用于配置CronTrigger实例。这些表达式由七个子表达式组成,描述了调度细节。子表达式用空格分隔。
Cron-Expressionsare used to configure instances of CronTrigger.
Cron-Expressions are strings that are actually made up of seven sub-expressions, that describe individual details of the schedule. These sub-expression are separated with white-space, and represent:
- Seconds
- Minutes
- Hours
- Day-of-Month
- Month
- Day-of-Week
- Year (optional field)
/用于递增触发。
如在秒上面设置"5/15" 表示从5秒开始,每增15秒触发(5,20,35,50)。
在月字段上设置'1/3'所示每月1号开始,每隔三天触发一次。

