简体   繁体   English

关于CronTrigger-Quartz的问题

[英]Question about CronTrigger - Quartz

Concerning http://www.opensymphony.com/quartz/wikidocs/CronTriggers%20Tutorial.html .. given bunch of examples and I just don't get this, how would I write CronTrigger expression to run every minute of every day for unlimited amount of time. 关于http://www.opensymphony.com/quartz/wikidocs/CronTriggers%20Tutorial.html ..给出了很多示例,而我却没有得到,我将如何编写CronTrigger表达式来无限制地每天运行多少时间。 I've "figured" out about running it every second which is easy "* * * * * ?" 我已经“想像”每秒钟运行一次,这很容易"* * * * * ?" how would I write expression which runs every minute lets say.. 我将如何写每分钟运行的表达式。

Try 尝试

0 * * * * ?

That means "the zero'th second of every minute" 这意味着“每分钟的零秒”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM