![](/img/trans.png)
[英]Quartz Scheduler Cron Expression with frequency as specific hour and minute
[英]What is the meaning/frequency of this Quartz Cron Expression?
Quartz API中定义的这个值的频率是多少?
我在applicationContext.xml中看到了以下定义
<value>0 * * * * ?</value>
这将每月 每天 每时 每分钟执行任务,在第二个0。 例如,它将在以下位置执行:
21 November 2013, at 17:00:00
21 November 2013, at 17:01:00
21 November 2013, at 17:02:00
但不会执行:
21 November 2013, at 17:00:01
application.xml中的定义是什么意思?
<value>0 * * * * ? </value>
^ ^ ^ ^ ^ ^
second minute hour day-of-month month day-of-week
注意*
符号表示每个 ,而?
允许使用字符表示日期和星期几字段。 它用于指定没有特定值 。
更多信息:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.