我可以同时使用cron和简单的石英触发器吗?

时间:2016-11-15 18:29:50

标签: quartz-scheduler quartz.net quartz-core quartz

我想使用两个触发器运行Quartz Job:cron和simple。或者是为一个作业指定多个间隔的其他方法吗?

<trigger> <cron> <name>Trigger_Name</name> <job-name>Job_Name</job-name> <job-group>DEFAULT</job-group> <!-- It will run every day at 00hr--> <cron-expression>0 0 0 * * ?</cron-expression> </cron> <simple> <name>Trigger_Name</name> <group>DEFAULT</group> <job-name>Job_Name</job-name> <job-group>DEFAULT</job-group> <repeat-count>-1</repeat-count> <repeat-interval>10000</repeat-interval> </simple> </trigger>

0 个答案:

没有答案